[U-Boot] [U-Boot, v3, 5/9] nios2: Define PLATFORM__CLEAR_BIT for generic_clear_bit()

Tom Rini trini at konsulko.com
Wed May 16 12:50:20 UTC 2018


On Mon, Apr 30, 2018 at 03:56:06PM +0100, Bryan O'Donoghue wrote:

> nios2 bitops.h provides a __clear_bit() but does not define
> PLATFORM__CLEAR_BIT as a result generic_clear_bit() is used instead of the
> architecturally provided __clear_bit().
> 
> This patch defines PLATFORM__CLEAR_BIT which means that __clear_bit() in
> nios2 bitops.h will be called whenever generic_clear_bit() is called - as
> opposed to the default cross-platform generic_clear_bit().
> 
> Signed-off-by: Bryan O'Donoghue <pure.logic at nexus-software.ie>
> Cc: Thomas Chou <thomas at wytron.com.tw>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180516/bdf3de16/attachment.sig>


More information about the U-Boot mailing list