aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-06-10 06:25:02 -0700
committerBin Meng <bmeng.cn@gmail.com>2018-06-13 09:50:57 +0800
commitb8038a1cdb857c87dd4bafb43e27159118f1a3e4 (patch)
tree274118f9b591890708d3638a7bd646046a369ae9 /configs
parentfcfc8a82b10c8acb844b8f0ed6c5d2cadce1291f (diff)
downloadu-boot-b8038a1cdb857c87dd4bafb43e27159118f1a3e4.zip
u-boot-b8038a1cdb857c87dd4bafb43e27159118f1a3e4.tar.gz
u-boot-b8038a1cdb857c87dd4bafb43e27159118f1a3e4.tar.bz2
x86: efi: app: Fix broken EFI application
The EFI application does not boot currently. It's due to the call to syscon_get_by_driver_data() in cpu_init_r() maps to nowhere as CONFIG_SYSCON is not included in the configuration. EFI application is built as a shared library, so GCC won't complain during the build process if some symbols are not found. GCC will simply put these symbols into the .plt section and expect dynamic loader to fix these up. While we are here, remove some commands and drivers that are not needed at present. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs')
-rw-r--r--configs/efi-x86_defconfig8
1 files changed, 2 insertions, 6 deletions
diff --git a/configs/efi-x86_defconfig b/configs/efi-x86_defconfig
index 815b51e..a2f072b 100644
--- a/configs/efi-x86_defconfig
+++ b/configs/efi-x86_defconfig
@@ -13,12 +13,8 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
CONFIG_LAST_STAGE_INIT=y
CONFIG_HUSH_PARSER=y
# CONFIG_CMD_BOOTM is not set
-CONFIG_CMD_GPIO=y
CONFIG_CMD_PART=y
-CONFIG_CMD_SF=y
# CONFIG_CMD_SF_TEST is not set
-CONFIG_CMD_SPI=y
-CONFIG_CMD_USB=y
# CONFIG_CMD_NET is not set
CONFIG_CMD_TIME=y
CONFIG_CMD_EXT2=y
@@ -30,10 +26,10 @@ CONFIG_MAC_PARTITION=y
CONFIG_ISO_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_OF_EMBED=y
+CONFIG_REGMAP=y
+CONFIG_SYSCON=y
# CONFIG_DM_ETH is not set
CONFIG_DEBUG_EFI_CONSOLE=y
-CONFIG_SPI=y
-CONFIG_ICH_SPI=y
# CONFIG_REGEX is not set
CONFIG_EFI=y
# CONFIG_EFI_LOADER is not set