From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aneesh V Date: Wed, 01 Jun 2011 11:31:48 +0530 Subject: [U-Boot] [PATCH v3 02/10] armv7: add miscellaneous utility macros In-Reply-To: References: <1299589658-30896-1-git-send-email-aneesh@ti.com> <1305202276-27784-3-git-send-email-aneesh@ti.com> <20110515184421.D7AB91491B06@gemini.denx.de> <20110516055102.2E15B1491B07@gemini.denx.de> <20110517052716.50A141491B08@gemini.denx.de> <4DD23561.70105@ti.com> <20110517092741.CB5591491B09@gemini.denx.de> Message-ID: <4DE5D5CC.9050902@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Wednesday 01 June 2011 07:43 AM, Simon Glass wrote: > On Tue, May 31, 2011 at 12:54 AM, V, Aneesh wrote: >> Hi Wolfgang, >> >> On Tue, May 17, 2011 at 2:57 PM, Wolfgang Denk wrote: >>> Dear Aneesh V, >>> >>> In message<4DD23561.70105@ti.com> you wrote: >>>> >>>> In fact I had searched for a macro for similar needs as my >>>> set_bit_field() is addressing in Linux Kernel too but didn't find any. >>> ... >>>> I couldn't find any utility macros/functions for doing something like >>>> this. >>>> >>>> Please somebody correct me if I am wrong. >>> >>> I am not aware of such a functionality in the Linux kernel, either. >>> >>> A quick search did not even show any attempts to introduce such macros >>> to Linux. It appears they don't need such a feature ? >> >> Wolfgang, what's your final take on this. Can I continue to use the utility >> macros given that I don't have any 'standard' alternative. For register >> accesses I shall move to setclrbits*() macros that you had suggested. >> But for bit operations I do not have any alternatives. >> >> best regards, >> Aneesh >> > > Hi Aneesh, > > If it helps, I will email a cleaned up bitfield patch to the list > tomorrow. I hoping that it will get a warm reception :-) Thanks. That's great news at least for me. best regards, Aneesh