History log of /u-boot/arch/x86/include/asm/bitops.h
Revision Date Author Comments
# 30fe8b05 30-Apr-2018 Bryan O'Donoghue <pure.logic@nexus-software.ie>

x86: Define PLATFORM__SET_BIT for generic_set_bit()

x86 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 x86
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@nexus-software.ie>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>


# 6c2f758c 04-Nov-2015 Fabio Estevam <fabio.estevam@freescale.com>

x86: Use the generic bitops headers

Use the generic bitops and also add custom __ffs() implementation
as per the kernel.

Also align the ffs() implementation with the kernel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>


# 8abebe3e 27-Nov-2012 Graeme Russ <graeme.russ@gmail.com>

x86: Add ilog2 to bitops

ilog2 is required by AHCI driver

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>


# fea25720 13-Apr-2011 Graeme Russ <graeme.russ@gmail.com>

x86: Rename i386 to x86

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>