u-boot/arch
Bin Meng 3e6cc35f4e x86: efi: Fix EFI 64-bit payload build warnings
There are lots of warnings when building EFI 64-bit payload.

include/asm-generic/bitops/__fls.h:17:2:
  warning: left shift count >= width of type
  	if (!(word & (~0ul << 32))) {
			^

In fact, U-Boot itself as EFI payload is running in 32-bit mode.
So BITS_PER_LONG needs to still be 32, but EFI status codes are
64-bit when booting from 64-bit EFI. Introduce EFI_BITS_PER_LONG
to bridge those status codes with U-Boot's BITS_PER_LONG.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-08-30 09:26:05 +08:00
..
arc arc: Rename AXS101 board to more generic AXS10x 2016-08-05 12:50:33 +03:00
arm Merge branch 'master' of git://git.denx.de/u-boot-uniphier 2016-08-28 10:36:20 -04:00
avr32 avr32: Drop unused code in u-boot.h 2016-05-27 15:39:52 -04:00
blackfin configs: Re-sync almost all of cmd/Kconfig 2016-04-25 15:09:40 -04:00
m68k net: mii: Changes not made by spatch 2016-08-15 15:29:03 -05:00
microblaze Remove unneeded remnants of bcopy(). 2016-06-06 13:39:18 -04:00
mips net: mii: Use spatch to update miiphy_register 2016-08-15 15:26:33 -05:00
nds32 arm, nds32, sh: remove useless ioremap()/iounmap() defines 2016-07-14 18:22:25 -04:00
nios2 Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
openrisc openrisc: Drop the arch-specific board init 2016-05-27 15:39:50 -04:00
powerpc net: mii: Changes not made by spatch 2016-08-15 15:29:03 -05:00
sandbox cmd: Split 'bootz' and 'booti' out from 'bootm' 2016-08-20 11:35:07 -04:00
sh arm, nds32, sh: remove useless ioremap()/iounmap() defines 2016-07-14 18:22:25 -04:00
sparc Fix spelling of "transferred". 2016-03-22 12:16:16 -04:00
x86 x86: efi: Fix EFI 64-bit payload build warnings 2016-08-30 09:26:05 +08:00
xtensa xtensa: add support for the 'xtfpga' evaluation board 2016-08-15 18:46:40 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig xtensa: add support for the xtensa processor architecture [2/2] 2016-08-15 18:46:38 -04:00