[U-Boot] [PATCH 00/22] x86: kconfig clean up

Andy Shevchenko andy.shevchenko at gmail.com
Fri Jul 28 15:55:21 UTC 2017


On Fri, Jul 28, 2017 at 4:06 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
> This series cleans up x86 Kconfig files a lot.
>
> The rules are:
>
> - Select all x86 must have Kconfig options from
>   X86 in arch/Kconfig
> - Imply all DM uclass drivers from X86 in arch/Kconfig
> - Select platform-dependent initialization hooks from
>   arch/x86/cpu/<platform>/Kconfig
> - Imply platform-specific drivers from
>   arch/x86/cpu/<platform>/Kconfig
> - Select board-specific initialization hooks from
>   board/vendor/board/Kconfig
> - Select specific SPI flash from board/vendor/board/Kconfig
>
> This series is available at u-boot-x86/kconfig-working for testing.
> Buildman testing has passed.

Thanks for doing this!
On the first glance looks pretty okay.

Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>

(For Intel Tangier SoC and Intel Edison board only)

> Bin Meng (22):
>   x86: kconfig: Select TIMER and X86_TSC_TIMER
>   x86: kconfig: Select USE_PRIVATE_LIBGCC
>   x86: kconfig: Select PCI and DM_PCI
>   x86: kconfig: Imply HAVE_INTEL_ME in the platform Kconfig
>   x86: kconfig: Let board select BOARD_EARLY_INIT_F
>   x86: kconfig: Select ARCH_MISC_INIT in the platform Kconfig
>   x86: kconfig: Select ARCH_EARLY_INIT_R in the platform Kconfig
>   x86: kconfig: Imply ENABLE_MRC_CACHE in the platform Kconfig
>   x86: kconfig: Select OF_CONTROL
>   x86: kconfig: Imply DM uclass drivers
>   x86: baytrail: kconfig: Imply platform specific drivers
>   x86: ivybridge: kconfig: Imply platform specific drivers
>   x86: broadwell: kconfig: Imply platform specific drivers
>   x86: coreboot: kconfig: Imply drivers that are useful
>   x86: queensbay: kconfig: Imply platform specific drivers
>   x86: tangier: kconfig: Imply platform specific drivers
>   x86: quark: kconfig: Imply platform specific drivers
>   x86: qemu: kconfig: Imply platform specific drivers
>   x86: qemu: Remove SPI flash from defconfigs
>   x86: kconfig: Let board select SPI flash
>   x86: kconfig: Move USB to platform Kconfig
>   x86: kconfig: Convert INTEL_ICH6_GPIO to Kconfig
>
>  arch/Kconfig                                       | 22 ++++++++++++------
>  arch/x86/cpu/baytrail/Kconfig                      | 15 +++++++++++++
>  arch/x86/cpu/broadwell/Kconfig                     |  9 ++++++++
>  arch/x86/cpu/broadwell/refcode.c                   | 17 +++++++++++++-
>  arch/x86/cpu/coreboot/Kconfig                      |  6 +++++
>  arch/x86/cpu/coreboot/coreboot.c                   | 10 ---------
>  arch/x86/cpu/efi/efi.c                             | 10 ---------
>  arch/x86/cpu/ivybridge/Kconfig                     |  8 +++++++
>  arch/x86/cpu/qemu/Kconfig                          |  6 +++++
>  arch/x86/cpu/quark/Kconfig                         | 13 +++++++++++
>  arch/x86/cpu/queensbay/Kconfig                     | 13 +++++++++++
>  arch/x86/cpu/tangier/Kconfig                       |  8 +++++++
>  arch/x86/include/asm/cpu.h                         | 12 ----------
>  board/advantech/som-db5800-som-6867/Kconfig        |  3 +++
>  .../som-db5800-som-6867/som-db5800-som-6867.c      |  5 -----
>  board/congatec/conga-qeval20-qa3-e3845/Kconfig     |  3 +++
>  .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c    |  5 -----
>  board/coreboot/coreboot/Kconfig                    | 12 ++++++++++
>  board/coreboot/coreboot/Makefile                   |  2 +-
>  board/coreboot/coreboot/coreboot.c                 | 14 ------------
>  board/dfi/dfi-bt700/Kconfig                        |  3 +++
>  board/efi/efi-x86/efi.c                            |  6 -----
>  board/google/chromebook_link/Kconfig               |  2 ++
>  board/google/chromebook_link/link.c                | 16 -------------
>  board/google/chromebook_samus/Kconfig              |  2 ++
>  board/google/chromebook_samus/samus.c              | 11 ---------
>  board/google/chromebox_panther/Kconfig             |  2 ++
>  board/google/chromebox_panther/panther.c           | 11 ---------
>  board/intel/bayleybay/Kconfig                      |  2 ++
>  board/intel/cougarcanyon2/Kconfig                  |  3 +++
>  board/intel/crownbay/Kconfig                       |  3 +++
>  board/intel/galileo/Kconfig                        |  2 ++
>  board/intel/galileo/galileo.c                      |  5 -----
>  board/intel/minnowmax/Kconfig                      |  2 ++
>  board/intel/minnowmax/minnowmax.c                  |  5 -----
>  common/Kconfig                                     |  2 --
>  configs/bayleybay_defconfig                        | 25 ---------------------
>  configs/chromebook_link64_defconfig                | 16 +------------
>  configs/chromebook_link_defconfig                  | 15 -------------
>  configs/chromebook_samus_defconfig                 | 16 -------------
>  configs/chromebox_panther_defconfig                | 16 -------------
>  ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 23 -------------------
>  configs/conga-qeval20-qa3-e3845_defconfig          | 23 -------------------
>  configs/coreboot-x86_defconfig                     | 16 -------------
>  configs/cougarcanyon2_defconfig                    | 14 ++----------
>  configs/crownbay_defconfig                         | 22 ------------------
>  configs/dfi-bt700-q7x-151_defconfig                | 23 -------------------
>  configs/edison_defconfig                           | 14 ------------
>  configs/efi-x86_defconfig                          | 10 +--------
>  configs/galileo_defconfig                          | 21 -----------------
>  configs/minnowmax_defconfig                        | 26 ----------------------
>  configs/qemu-x86_64_defconfig                      | 17 --------------
>  configs/qemu-x86_defconfig                         | 16 -------------
>  configs/qemu-x86_efi_payload32_defconfig           | 16 -------------
>  configs/qemu-x86_efi_payload64_defconfig           | 16 -------------
>  configs/som-db5800-som-6867_defconfig              | 20 -----------------
>  configs/theadorable-x86-dfi-bt700_defconfig        | 24 --------------------
>  drivers/gpio/Kconfig                               |  6 +++++
>  drivers/pci/Kconfig                                |  2 +-
>  drivers/timer/Kconfig                              |  1 -
>  include/configs/efi-x86.h                          |  1 -
>  include/configs/qemu-x86.h                         |  3 ---
>  include/configs/x86-common.h                       |  3 ---
>  scripts/config_whitelist.txt                       |  1 -
>  64 files changed, 160 insertions(+), 516 deletions(-)
>  delete mode 100644 board/coreboot/coreboot/coreboot.c
>
> --
> 2.9.2
>



-- 
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list