]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commite92d0b7751557f0a57a62087de77066f878d6629
tree274118f9b591890708d3638a7bd646046a369ae9
parent9b3f0dcb0ab702e2f08ee1737325f529fb6481ef
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