[U-Boot] [PATCH 0/10] Move some CONFIGs to Kconfig

Masahiro Yamada yamada.m at jp.panasonic.com
Sun Sep 7 10:43:19 CEST 2014


Now we have the basic Kconfig infrastructure and we are ready
to move CONFIG options from header files to Kconfig.

We do not have to rush to do it at once.
We can do it little by little when we find some time.

(Of course, this task is too tedious to do by hand.
I wrote a script to do it automatically for me.)

I also did build-test over all the boards
to confirm this series does not change the outputs.



Masahiro Yamada (10):
  kconfig: add blank Kconfig files
  kconfig: move CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED to Kconfig
  kconfig: move CONFIG_CMD_BOOTM to Kconfig
  kconfig: move CONFIG_CMD_CRC32 to Kconfig
  kconfig: move CONFIG_CMD_EXPORTENV to Kconfig
  kconfig: move CONFIG_CMD_GO to Kconfig
  kconfig: move CONFIG_CMD_IMPORTENV to Kconfig
  kconfig: delete config_cmd_defaults.h
  kconfig: move CONFIG_OF_* to Kconfig
  kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig

 Kconfig                                            | 14 +++++-
 common/Kconfig                                     | 24 ++++++++++
 configs/am335x_boneblack_vboot_defconfig           |  2 +
 configs/arndale_defconfig                          |  2 +
 configs/bct-brettl2_defconfig                      |  1 +
 configs/beaver_defconfig                           |  2 +
 configs/bf506f-ezkit_defconfig                     |  3 ++
 configs/bf518f-ezbrd_defconfig                     |  1 +
 configs/bf526-ezbrd_defconfig                      |  1 +
 configs/bf527-ad7160-eval_defconfig                |  1 +
 configs/bf527-ezkit-v2_defconfig                   |  1 +
 configs/bf527-ezkit_defconfig                      |  1 +
 configs/bf527-sdp_defconfig                        |  1 +
 configs/bf533-ezkit_defconfig                      |  1 +
 configs/bf533-stamp_defconfig                      |  1 +
 configs/bf537-stamp_defconfig                      |  1 +
 configs/bf538f-ezkit_defconfig                     |  1 +
 configs/bf548-ezkit_defconfig                      |  1 +
 configs/bf561-acvilon_defconfig                    |  1 +
 configs/bf561-ezkit_defconfig                      |  1 +
 configs/br4_defconfig                              |  1 +
 configs/cardhu_defconfig                           |  2 +
 configs/cm-bf527_defconfig                         |  1 +
 configs/cm-bf533_defconfig                         |  1 +
 configs/cm-bf537e_defconfig                        |  1 +
 configs/cm-bf537u_defconfig                        |  1 +
 configs/cm-bf548_defconfig                         |  1 +
 configs/cm-bf561_defconfig                         |  1 +
 configs/colibri_t20_iris_defconfig                 |  2 +
 configs/colibri_t30_defconfig                      |  2 +
 .../controlcenterd_TRAILBLAZER_DEVELOP_defconfig   |  1 +
 configs/controlcenterd_TRAILBLAZER_defconfig       |  1 +
 configs/coreboot-x86_defconfig                     |  2 +
 configs/dalmore_defconfig                          |  2 +
 configs/harmony_defconfig                          |  2 +
 configs/ip04_defconfig                             |  1 +
 configs/jetson-tk1_defconfig                       |  2 +
 configs/kwb_defconfig                              |  1 +
 configs/medcom-wide_defconfig                      |  2 +
 configs/microblaze-generic_defconfig               |  3 ++
 configs/mx6dlsabreauto_defconfig                   |  1 +
 configs/mx6qsabreauto_defconfig                    |  1 +
 configs/origen_defconfig                           |  2 +
 configs/paz00_defconfig                            |  2 +
 configs/peach-pit_defconfig                        |  2 +
 configs/plutux_defconfig                           |  2 +
 configs/pr1_defconfig                              |  1 +
 configs/s5pc210_universal_defconfig                |  2 +
 configs/sandbox_defconfig                          |  2 +
 configs/seaboard_defconfig                         |  2 +
 configs/smdk5250_defconfig                         |  2 +
 configs/smdk5420_defconfig                         |  2 +
 configs/snow_defconfig                             |  2 +
 configs/tcm-bf518_defconfig                        |  1 +
 configs/tcm-bf537_defconfig                        |  1 +
 configs/tec-ng_defconfig                           |  2 +
 configs/tec_defconfig                              |  2 +
 configs/trats2_defconfig                           |  2 +
 configs/trats_defconfig                            |  2 +
 configs/trimslice_defconfig                        |  2 +
 configs/tseries_mmc_defconfig                      |  1 +
 configs/tseries_nand_defconfig                     |  1 +
 configs/tseries_spi_defconfig                      |  1 +
 configs/vct_platinum_onenand_small_defconfig       |  1 +
 configs/vct_platinum_small_defconfig               |  1 +
 configs/vct_platinumavc_onenand_small_defconfig    |  1 +
 configs/vct_platinumavc_small_defconfig            |  1 +
 configs/vct_premium_onenand_small_defconfig        |  1 +
 configs/vct_premium_small_defconfig                |  1 +
 configs/venice2_defconfig                          |  2 +
 configs/ventana_defconfig                          |  2 +
 configs/vexpress_aemv8a_defconfig                  |  1 +
 configs/vexpress_aemv8a_semi_defconfig             |  1 +
 configs/whistler_defconfig                         |  2 +
 configs/zynq_microzed_defconfig                    |  2 +
 configs/zynq_zc70x_defconfig                       |  2 +
 configs/zynq_zc770_xm010_defconfig                 |  2 +
 configs/zynq_zc770_xm012_defconfig                 |  2 +
 configs/zynq_zc770_xm013_defconfig                 |  2 +
 configs/zynq_zed_defconfig                         |  2 +
 drivers/Kconfig                                    | 51 ++++++++++++++++++++
 drivers/block/Kconfig                              |  0
 drivers/core/Kconfig                               |  0
 drivers/crypto/Kconfig                             |  0
 drivers/dfu/Kconfig                                |  0
 drivers/dma/Kconfig                                |  0
 drivers/gpio/Kconfig                               |  0
 drivers/hwmon/Kconfig                              |  0
 drivers/i2c/Kconfig                                |  0
 drivers/input/Kconfig                              |  0
 drivers/misc/Kconfig                               |  0
 drivers/mmc/Kconfig                                |  0
 drivers/mtd/Kconfig                                |  0
 drivers/net/Kconfig                                |  0
 drivers/pci/Kconfig                                |  0
 drivers/pcmcia/Kconfig                             |  0
 drivers/power/Kconfig                              |  0
 drivers/rtc/Kconfig                                |  0
 drivers/serial/Kconfig                             |  0
 drivers/sound/Kconfig                              |  0
 drivers/spi/Kconfig                                |  0
 drivers/tpm/Kconfig                                |  0
 drivers/usb/Kconfig                                |  0
 drivers/video/Kconfig                              |  0
 drivers/watchdog/Kconfig                           |  0
 dts/Kconfig                                        | 54 ++++++++++++++++++++++
 fs/Kconfig                                         | 19 ++++++++
 fs/cramfs/Kconfig                                  |  0
 fs/ext4/Kconfig                                    |  0
 fs/fat/Kconfig                                     |  0
 fs/jffs2/Kconfig                                   |  0
 fs/reiserfs/Kconfig                                |  0
 fs/ubifs/Kconfig                                   |  0
 include/config_cmd_defaults.h                      | 18 --------
 include/configs/am335x_evm.h                       |  3 --
 include/configs/arndale.h                          |  3 --
 include/configs/bct-brettl2.h                      |  1 -
 include/configs/beaver.h                           |  3 --
 include/configs/bf506f-ezkit.h                     |  3 --
 include/configs/bf518f-ezbrd.h                     |  1 -
 include/configs/bf526-ezbrd.h                      |  1 -
 include/configs/bf527-ad7160-eval.h                |  1 -
 include/configs/bf527-ezkit.h                      |  1 -
 include/configs/bf527-sdp.h                        |  1 -
 include/configs/bf533-ezkit.h                      |  1 -
 include/configs/bf533-stamp.h                      |  1 -
 include/configs/bf537-stamp.h                      |  1 -
 include/configs/bf538f-ezkit.h                     |  1 -
 include/configs/bf548-ezkit.h                      |  1 -
 include/configs/bf561-acvilon.h                    |  1 -
 include/configs/bf561-ezkit.h                      |  1 -
 include/configs/br4.h                              |  1 -
 include/configs/bur_am335x_common.h                |  1 -
 include/configs/cardhu.h                           |  3 --
 include/configs/cm-bf527.h                         |  1 -
 include/configs/cm-bf533.h                         |  1 -
 include/configs/cm-bf537e.h                        |  1 -
 include/configs/cm-bf537u.h                        |  1 -
 include/configs/cm-bf548.h                         |  1 -
 include/configs/cm-bf561.h                         |  1 -
 include/configs/colibri_t20_iris.h                 |  3 --
 include/configs/colibri_t30.h                      |  3 --
 include/configs/controlcenterd.h                   |  1 -
 include/configs/coreboot.h                         |  3 --
 include/configs/dalmore.h                          |  3 --
 include/configs/exynos4-dt.h                       |  2 -
 include/configs/exynos5-dt.h                       |  2 -
 include/configs/h2200.h                            |  1 -
 include/configs/harmony.h                          |  3 --
 include/configs/ip04.h                             |  1 -
 include/configs/jetson-tk1.h                       |  3 --
 include/configs/kwb.h                              |  1 -
 include/configs/medcom-wide.h                      |  3 --
 include/configs/microblaze-generic.h               |  3 --
 include/configs/mx6qsabreauto.h                    |  2 -
 include/configs/origen.h                           |  2 -
 include/configs/paz00.h                            |  3 --
 include/configs/peach-pit.h                        |  2 -
 include/configs/plutux.h                           |  3 --
 include/configs/pr1.h                              |  1 -
 include/configs/s5pc210_universal.h                |  2 -
 include/configs/sandbox.h                          |  3 --
 include/configs/seaboard.h                         |  3 --
 include/configs/smdk5250.h                         |  2 -
 include/configs/smdk5420.h                         |  2 -
 include/configs/snow.h                             |  2 -
 include/configs/tcm-bf518.h                        |  1 -
 include/configs/tcm-bf537.h                        |  1 -
 include/configs/tec-ng.h                           |  3 --
 include/configs/tec.h                              |  3 --
 include/configs/tegra-common-post.h                |  1 -
 include/configs/trats.h                            |  2 -
 include/configs/trats2.h                           |  2 -
 include/configs/trimslice.h                        |  3 --
 include/configs/vct.h                              |  1 -
 include/configs/venice2.h                          |  3 --
 include/configs/ventana.h                          |  3 --
 include/configs/vexpress_aemv8a.h                  |  1 -
 include/configs/whistler.h                         |  3 --
 include/configs/zynq-common.h                      |  9 +---
 include/configs/zynq_microzed.h                    |  1 -
 include/configs/zynq_zc70x.h                       |  1 -
 include/configs/zynq_zc770.h                       |  3 --
 include/configs/zynq_zed.h                         |  1 -
 lib/Kconfig                                        | 11 +++++
 net/Kconfig                                        | 10 ++++
 scripts/Makefile.autoconf                          |  1 -
 187 files changed, 300 insertions(+), 156 deletions(-)
 create mode 100644 common/Kconfig
 create mode 100644 drivers/Kconfig
 create mode 100644 drivers/block/Kconfig
 create mode 100644 drivers/core/Kconfig
 create mode 100644 drivers/crypto/Kconfig
 create mode 100644 drivers/dfu/Kconfig
 create mode 100644 drivers/dma/Kconfig
 create mode 100644 drivers/gpio/Kconfig
 create mode 100644 drivers/hwmon/Kconfig
 create mode 100644 drivers/i2c/Kconfig
 create mode 100644 drivers/input/Kconfig
 create mode 100644 drivers/misc/Kconfig
 create mode 100644 drivers/mmc/Kconfig
 create mode 100644 drivers/mtd/Kconfig
 create mode 100644 drivers/net/Kconfig
 create mode 100644 drivers/pci/Kconfig
 create mode 100644 drivers/pcmcia/Kconfig
 create mode 100644 drivers/power/Kconfig
 create mode 100644 drivers/rtc/Kconfig
 create mode 100644 drivers/serial/Kconfig
 create mode 100644 drivers/sound/Kconfig
 create mode 100644 drivers/spi/Kconfig
 create mode 100644 drivers/tpm/Kconfig
 create mode 100644 drivers/usb/Kconfig
 create mode 100644 drivers/video/Kconfig
 create mode 100644 drivers/watchdog/Kconfig
 create mode 100644 dts/Kconfig
 create mode 100644 fs/Kconfig
 create mode 100644 fs/cramfs/Kconfig
 create mode 100644 fs/ext4/Kconfig
 create mode 100644 fs/fat/Kconfig
 create mode 100644 fs/jffs2/Kconfig
 create mode 100644 fs/reiserfs/Kconfig
 create mode 100644 fs/ubifs/Kconfig
 delete mode 100644 include/config_cmd_defaults.h
 create mode 100644 lib/Kconfig
 create mode 100644 net/Kconfig

-- 
1.9.1



More information about the U-Boot mailing list