diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-30 06:23:16 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-08-01 20:17:02 +0800 |
commit | 4f0faacb42145e34cb56c8b2d7867a1ec15f63ac (patch) | |
tree | 66925b1ce6ef11f6a8e53b89530f2f1d5c1a1547 /arch | |
parent | 263252c762c43fd968c924dfd6e1c3db930a35a2 (diff) |
x86: kconfig: Imply DM uclass drivers
Now that all x86 boards have been converted to use DM, we can imply
these uclass drivers (DM_ETH, DM_RTC, DM_USB, DM_VIDEO) from the
top level.
Previously DM_GPIO, DM_KEYBOARD, DM_SERIAL, DM_SPI, DM_SPI_FLASH
are selected. Change to use 'imply' to allow them to be removed.
Note with this change, chromebook_link64 build fails:
common/built-in.o:(.data.env_htab+0xc): undefined reference to 'env_flags_validate'
lib/built-in.o: In function `hsearch_r':
lib/hashtable.c:380: undefined reference to 'env_callback_init'
lib/hashtable.c:382: undefined reference to 'env_flags_init'
make[1]: *** [spl/u-boot-spl] Error 1
CONFIG_SPL_ENV_SUPPORT is required for chromebook_link64 to build
again. This is just a workaround as it is not needed at all. See
commit bda40d5 "x86: qemu: Add a config for 64-bit U-Boot" for
the same issue seen on QEMU 64-bit target.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Kconfig | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 71dfeb38d5..fef06d6883 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -91,17 +91,21 @@ config X86 select SUPPORT_OF_CONTROL select OF_CONTROL select DM - select DM_KEYBOARD - select DM_SERIAL - select DM_GPIO - select PCI select DM_PCI - select DM_SPI - select DM_SPI_FLASH + select PCI select TIMER select X86_TSC_TIMER select USB select USB_EHCI_HCD + imply DM_ETH + imply DM_GPIO + imply DM_KEYBOARD + imply DM_RTC + imply DM_SERIAL + imply DM_SPI + imply DM_SPI_FLASH + imply DM_USB + imply DM_VIDEO imply CMD_FPGA_LOADMK imply CMD_GETTIME imply CMD_IO |