u-boot/arch/x86
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
..
cpu x86: Add debugging when cpu_common_init() fails 2016-08-30 09:26:05 +08:00
dts x86: Add theadorable-x86-dfi-bt700 board support 2016-08-16 11:44:09 +08:00
include/asm x86: efi: Fix EFI 64-bit payload build warnings 2016-08-30 09:26:05 +08:00
lib dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
config.mk efi: Add 64-bit payload support 2015-08-05 08:44:07 -06:00
Kconfig x86: Add DFI BT700 BayTrail board support 2016-08-16 11:44:09 +08:00
Makefile x86: Add support for U-Boot as an EFI application 2015-08-05 08:44:06 -06:00