[U-Boot] [U-Boot, v3, 4/9] nios2: Define PLATFORM__SET_BIT for generic_set_bit()

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


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

> nios2 bitops.h provides a __set_bit() but does not define PLATFORM__SET_BIT
> as a result generic_set_bit() is used instead of the architecturally
> provided __set_bit().
> 
> This patch defines PLATFORM__SET_BIT which means that __set_bit() in nios2
> bitops.h will be called whenever generic_set_bit() is called - as opposed
> to the default cross-platform generic_set_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/c17a7f9e/attachment.sig>


More information about the U-Boot mailing list