x86: efi: app: Fix broken EFI application
authorBin Meng <bmeng.cn@gmail.com>
Sun, 10 Jun 2018 13:25:02 +0000 (06:25 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jun 2018 01:50:57 +0000 (09:50 +0800)
commitb8038a1cdb857c87dd4bafb43e27159118f1a3e4
tree274118f9b591890708d3638a7bd646046a369ae9
parentfcfc8a82b10c8acb844b8f0ed6c5d2cadce1291f
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>
configs/efi-x86_defconfig