Move some CONFIGs to Kconfig
Subsystems (31)
cover Move some CONFIGs to Kconfig
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
Signature · 1 line
1.9.1
PATCH 1/10 kconfig: add blank Kconfig files
This would be useful to start moving various config options.
---
Kconfig | 12 +++++++++++- common/Kconfig | 4 ++++ 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 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 lib/Kconfig | 3 +++ net/Kconfig | 10 ++++++++++ 36 files changed, 98 insertions(+), 1 deletion(-) 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 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 create mode 100644 lib/Kconfig create mode 100644 net/Kconfig
Kconfig +11 -1
@@ -91,7 +91,7 @@ config SYS_EXTRA_OPTIONS depends on !SPL_BUILD help The old configuration infrastructure (= mkconfig + boards.cfg) - provided the extra options field. It you have something like + provided the extra options field. If you have something like "HAS_BAR,BAZ=64", the optional options #define CONFIG_HAS #define CONFIG_BAZ 64
@@ -103,3 +103,13 @@ config SYS_EXTRA_OPTIONS endmenu # Boot images source "arch/Kconfig" + +source "common/Kconfig" + +source "net/Kconfig" + +source "drivers/Kconfig" + +source "fs/Kconfig" + +source "lib/Kconfig"
common/Kconfig new file +4 -0
@@ -0,0 +1,4 @@ +menu "Command line interface" + depends on !SPL_BUILD + +endmenu
drivers/Kconfig new file +51 -0
51 lines not on this page · raw message
drivers/block/Kconfig new file +0 -0
drivers/core/Kconfig new file +0 -0
drivers/crypto/Kconfig new file +0 -0
drivers/dfu/Kconfig new file +0 -0
drivers/dma/Kconfig new file +0 -0
drivers/gpio/Kconfig new file +0 -0
drivers/hwmon/Kconfig new file +0 -0
drivers/i2c/Kconfig new file +0 -0
drivers/input/Kconfig new file +0 -0
drivers/misc/Kconfig new file +0 -0
drivers/mmc/Kconfig new file +0 -0
drivers/mtd/Kconfig new file +0 -0
drivers/net/Kconfig new file +0 -0
drivers/pci/Kconfig new file +0 -0
drivers/pcmcia/Kconfig new file +0 -0
drivers/power/Kconfig new file +0 -0
drivers/rtc/Kconfig new file +0 -0
drivers/serial/Kconfig new file +0 -0
drivers/sound/Kconfig new file +0 -0
drivers/spi/Kconfig new file +0 -0
drivers/tpm/Kconfig new file +0 -0
drivers/usb/Kconfig new file +0 -0
drivers/video/Kconfig new file +0 -0
drivers/watchdog/Kconfig new file +0 -0
fs/Kconfig new file +19 -0
@@ -0,0 +1,19 @@ +# +# File system configuration +# + +menu "File systems" + +source "fs/ext4/Kconfig" + +source "fs/reiserfs/Kconfig" + +source "fs/fat/Kconfig" + +source "fs/jffs2/Kconfig" + +source "fs/ubifs/Kconfig" + +source "fs/cramfs/Kconfig" + +endmenu
fs/cramfs/Kconfig new file +0 -0
fs/ext4/Kconfig new file +0 -0
fs/fat/Kconfig new file +0 -0
fs/jffs2/Kconfig new file +0 -0
fs/reiserfs/Kconfig new file +0 -0
fs/ubifs/Kconfig new file +0 -0
lib/Kconfig new file +3 -0
@@ -0,0 +1,3 @@ +menu "Library routines" + +endmenu
net/Kconfig new file +10 -0
@@ -0,0 +1,10 @@ +# +# Network configuration +# + +menuconfig NET + bool "Networking support" + +if NET + +endif # if NET
Signature · 1 line
1.9.1
PATCH 1/10 kconfig: add blank Kconfig files
Tested with sandbox:
PATCH 2/10 kconfig: move CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED to Kconfig
In reply to Masahiro YamadaIf this option is enabled, the objects under lib/ directory are compiled with speed optimization, not size optimization. (Currently, only used by some Blackfin boards.)
---
configs/bct-brettl2_defconfig | 1 + 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/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/ip04_defconfig | 1 + configs/pr1_defconfig | 1 + configs/tcm-bf518_defconfig | 1 + configs/tcm-bf537_defconfig | 1 + include/configs/bct-brettl2.h | 1 - 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/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/ip04.h | 1 - include/configs/pr1.h | 1 - include/configs/tcm-bf518.h | 1 - include/configs/tcm-bf537.h | 1 - lib/Kconfig | 8 ++++++++ 50 files changed, 33 insertions(+), 24 deletions(-)
configs/bct-brettl2_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BCT_BRETTL2=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf518f-ezbrd_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF518F_EZBRD=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf526-ezbrd_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF526_EZBRD=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf527-ad7160-eval_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF527_AD7160_EVAL=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf527-ezkit-v2_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BF527_EZKIT_REV_2_1" CONFIG_BLACKFIN=y CONFIG_TARGET_BF527_EZKIT=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf527-ezkit_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF527_EZKIT=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf527-sdp_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF527_SDP=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf533-ezkit_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF533_EZKIT=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf533-stamp_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF533_STAMP=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf537-stamp_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF537_STAMP=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf538f-ezkit_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF538F_EZKIT=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf548-ezkit_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF548_EZKIT=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf561-acvilon_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF561_ACVILON=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/bf561-ezkit_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF561_EZKIT=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/br4_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BR4=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/cm-bf527_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_CM_BF527=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/cm-bf533_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_CM_BF533=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/cm-bf537e_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_CM_BF537E=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/cm-bf537u_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_CM_BF537U=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/cm-bf548_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_CM_BF548=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/cm-bf561_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_CM_BF561=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/ip04_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_IP04=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/pr1_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_PR1=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/tcm-bf518_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_TCM_BF518=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
configs/tcm-bf537_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_TCM_BF537=y +CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
include/configs/bct-brettl2.h +0 -1
@@ -137,7 +137,6 @@#define CONFIG_MTD_DEVICE #define CONFIG_MTD_PARTITIONS #define CONFIG_SYS_HUSH_PARSER -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/bf518f-ezbrd.h +0 -1
@@ -155,7 +155,6 @@#define CONFIG_MISC_INIT_R #define CONFIG_RTC_BFIN #define CONFIG_UART_CONSOLE 0 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/bf526-ezbrd.h +0 -1
@@ -153,7 +153,6 @@#define CONFIG_MISC_INIT_R #define CONFIG_RTC_BFIN #define CONFIG_UART_CONSOLE 1 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* define to enable run status via led */ /* #define CONFIG_STATUS_LED */
include/configs/bf527-ad7160-eval.h +0 -1
@@ -136,7 +136,6 @@*/ #define CONFIG_MISC_INIT_R #define CONFIG_UART_CONSOLE 0 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/bf527-ezkit.h +0 -1
@@ -179,7 +179,6 @@#define CONFIG_MISC_INIT_R #define CONFIG_RTC_BFIN #define CONFIG_UART_CONSOLE 1 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/bf527-sdp.h +0 -1
@@ -112,7 +112,6 @@*/ #define CONFIG_MISC_INIT_R #define CONFIG_UART_CONSOLE 0 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/bf533-ezkit.h +0 -1
@@ -110,7 +110,6 @@#define CONFIG_MISC_INIT_R #define CONFIG_RTC_BFIN #define CONFIG_UART_CONSOLE 0 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/bf533-stamp.h +0 -1
@@ -186,7 +186,6 @@*/ #define CONFIG_RTC_BFIN #define CONFIG_UART_CONSOLE 0 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* FLASH/ETHERNET uses the same async bank */ #define SHARED_RESOURCES 1
include/configs/bf537-stamp.h +0 -1
@@ -254,7 +254,6 @@#define CONFIG_MISC_INIT_R #define CONFIG_RTC_BFIN #define CONFIG_UART_CONSOLE 0 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* Define if want to do post memory test */ #undef CONFIG_POST
include/configs/bf538f-ezkit.h +0 -1
@@ -135,7 +135,6 @@*/ #define CONFIG_RTC_BFIN #define CONFIG_UART_CONSOLE 0 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/bf548-ezkit.h +0 -1
@@ -181,7 +181,6 @@#define CONFIG_RTC_BFIN #define CONFIG_UART_CONSOLE 1#define CONFIG_BFIN_SPI_IMG_SIZE 0x50000 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED #define CONFIG_ADI_GPIO2
include/configs/bf561-acvilon.h +0 -1
@@ -160,7 +160,6 @@#define CONFIG_UART_CONSOLE 0#define CONFIG_BAUDRATE 57600#define CONFIG_SYS_PROMPT "Acvilon> " -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/bf561-ezkit.h +0 -1
@@ -102,7 +102,6 @@* Misc Settings */ #define CONFIG_UART_CONSOLE 0 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Run core 1 from L1 SRAM start address when init uboot on core 0
include/configs/br4.h +0 -1
@@ -135,7 +135,6 @@#define CONFIG_BOOTCOMMAND "run nandboot"#define CONFIG_BOOTDELAY 2#define CONFIG_LOADADDR 0x2000000 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/cm-bf527.h +0 -1
@@ -128,7 +128,6 @@#define FLASHBOOT_ENV_SETTINGS \ "flashboot=flread 20040000 1000000 300000;" \ "bootm 0x1000000\0" -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/cm-bf533.h +0 -1
@@ -97,7 +97,6 @@#define CONFIG_UART_CONSOLE 0#define CONFIG_BOOTCOMMAND "run flashboot"#define FLASHBOOT_ENV_SETTINGS "flashboot=bootm 0x20040000\0" -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/cm-bf537e.h +0 -1
@@ -146,7 +146,6 @@"flashboot=flread 20040000 1000000 3c0000;" \"bootm 0x1000000\0" #define CONFIG_BOARD_SIZE_LIMIT $$((384 * 1024)) -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/cm-bf537u.h +0 -1
@@ -143,7 +143,6 @@"flashboot=flread 20040000 1000000 300000;" \"bootm 0x1000000\0" #define CONFIG_BOARD_SIZE_LIMIT $$((384 * 1024)) -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/cm-bf548.h +0 -1
@@ -117,7 +117,6 @@#define CONFIG_UART_CONSOLE 1#define CONFIG_BOOTCOMMAND "run flashboot"#define FLASHBOOT_ENV_SETTINGS "flashboot=bootm 0x20040000\0" -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED #define CONFIG_ADI_GPIO2
include/configs/cm-bf561.h +0 -1
@@ -99,7 +99,6 @@#define CONFIG_UART_CONSOLE 0#define CONFIG_BOOTCOMMAND "run flashboot"#define FLASHBOOT_ENV_SETTINGS "flashboot=bootm 0x20040000\0" -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/ip04.h +0 -1
@@ -133,7 +133,6 @@#define CONFIG_BAUDRATE 115200#define CONFIG_MISC_INIT_R /* needed for MAC address */ #define CONFIG_UART_CONSOLE 0 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED #undef CONFIG_SHOW_BOOT_PROGRESS/* Enable this if bootretry required; currently it's disabled */
include/configs/pr1.h +0 -1
@@ -135,7 +135,6 @@#define CONFIG_BOOTCOMMAND "run nandboot"#define CONFIG_BOOTDELAY 2#define CONFIG_LOADADDR 0x2000000 -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/tcm-bf518.h +0 -1
@@ -116,7 +116,6 @@#define CONFIG_UART_CONSOLE 0#define CONFIG_BOOTCOMMAND "run flashboot"#define FLASHBOOT_ENV_SETTINGS "flashboot=bootm 0x20040000\0" -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
include/configs/tcm-bf537.h +0 -1
@@ -145,7 +145,6 @@"flashboot=flread 20040000 1000000 300000;" \"bootm 0x1000000\0" #define CONFIG_BOARD_SIZE_LIMIT $$((384 * 1024)) -#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED /* * Pull in common ADI header for remaining command/environment setup
lib/Kconfig +8 -0
@@ -1,3 +1,11 @@ menu "Library routines" +config CC_OPTIMIZE_LIBS_FOR_SPEED + bool "Optimize libraries for speed" + help + Enabling this option will pass "-O2" to gcc when compiling + under "lib" directory. + + If unsure, say N. + endmenu
Signature · 1 line
1.9.1
PATCH 2/10 kconfig: move CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED to Kconfig
Tested with sandbox:
PATCH 3/10 kconfig: move CONFIG_CMD_BOOTM to Kconfig
In reply to Masahiro YamadaCONFIG_CMD_BOOTM is defined in config_cmd_defaults.h which is forcebly included from each board.
So, the default value of "config CMD_BOOTM" should be "y".
For some boards undefining it (bf506f-ezkit, controlcenterd_TRAILBLA, controlcenterd_TRAILBLAZER_DEVELOP, controlcenterd_TRAILBLAZER), "# CONFIG_CMD_BOOTM is not set" should be added to their defconfig.
---
common/Kconfig | 4 ++++ configs/bf506f-ezkit_defconfig | 1 + configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 1 + configs/controlcenterd_TRAILBLAZER_defconfig | 1 + include/config_cmd_defaults.h | 1 - include/configs/bf506f-ezkit.h | 1 - include/configs/controlcenterd.h | 1 - 7 files changed, 7 insertions(+), 3 deletions(-)
common/Kconfig +4 -0
@@ -1,4 +1,8 @@ menu "Command line interface" depends on !SPL_BUILD +config CMD_BOOTM + bool "Enable boom command" + default y + endmenu
configs/bf506f-ezkit_defconfig +1 -0
@@ -1,2 +1,3 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF506F_EZKIT=y +# CONFIG_CMD_BOOTM is not set
configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SYS_EXTRA_OPTIONS="TRAILBLAZER,SPIFLASH,DEVELOP" CONFIG_PPC=y CONFIG_MPC85xx=y CONFIG_TARGET_CONTROLCENTERD=y +# CONFIG_CMD_BOOTM is not set
configs/controlcenterd_TRAILBLAZER_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SYS_EXTRA_OPTIONS="TRAILBLAZER,SPIFLASH" CONFIG_PPC=y CONFIG_MPC85xx=y CONFIG_TARGET_CONTROLCENTERD=y +# CONFIG_CMD_BOOTM is not set
include/config_cmd_defaults.h +0 -1
@@ -9,7 +9,6 @@#ifndef _CONFIG_CMD_DEFAULTS_H_#define _CONFIG_CMD_DEFAULTS_H_ -#define CONFIG_CMD_BOOTM 1#define CONFIG_CMD_CRC32 1#define CONFIG_CMD_EXPORTENV 1#define CONFIG_CMD_GO 1
include/configs/bf506f-ezkit.h +0 -1
@@ -102,7 +102,6 @@#define CONFIG_CMD_MEMORY #undef CONFIG_GZIP#undef CONFIG_ZLIB -#undef CONFIG_CMD_BOOTM#undef CONFIG_BOOTM_RTEMS#undef CONFIG_BOOTM_LINUX
include/configs/controlcenterd.h +0 -1
@@ -434,7 +434,6 @@#define CONFIG_BOARD_EARLY_INIT_F #define CONFIG_BOARD_EARLY_INIT_R #define CONFIG_LAST_STAGE_INIT -#undef CONFIG_CMD_BOOTM#endif /* CONFIG_TRAILBLAZER */
Signature · 1 line
1.9.1
PATCH 3/10 kconfig: move CONFIG_CMD_BOOTM to Kconfig
Hi Masahiro,
Quoted 25 lines · Masahiro Yamada
CONFIG_CMD_BOOTMis defined inconfig_cmd_defaults.hwhich is forcebly included from each board.
So, the default value of "configCMD_BOOTM" should be "y".For some boards undefining it (bf506f-ezkit,
controlcenterd_TRAILBLA,controlcenterd_TRAILBLAZER_DEVELOP,controlcenterd_TRAILBLAZER), "#CONFIG_CMD_BOOTMis not set" should be added to their defconfig.Signed-off-by Masahiro Yamada <[email protected]>---
common/Kconfig | 4 ++++ configs/bf506f-ezkit_defconfig | 1 + configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 1 + configs/controlcenterd_TRAILBLAZER_defconfig | 1 + include/config_cmd_defaults.h | 1 - include/configs/bf506f-ezkit.h | 1 - include/configs/controlcenterd.h | 1 - 7 files changed, 7 insertions(+), 3 deletions(-)common/Kconfig +0
-0
common/Kconfig line 5
Quoted 5 lines
common/Kconfig +2
-0@@ -1,4 +1,8 @@ menu "Command line interface" depends on !SPL_BUILD +config CMD_BOOTM + bool "Enable boom command"
nit: bootm
Also could add some help text - e.g. it enables the command to boot an OS image.
Regards,
Simon
PATCH 4/10 kconfig: move CONFIG_CMD_CRC32 to Kconfig
In reply to Masahiro YamadaSince CONFIG_CMD_CRC32 is defined in config_cmd_defaults.h, it is enabled for all the boards except the ones undefining it explicitly:
kwb
tseries_mmc
tseries_nand
tseries_spi
vct_platinum_onenand_small
vct_platinum_small
vct_platinumavc_onenand_small vct_platinumavc_small
vct_premium_onenand_small
vct_premium_small
The default value of this config option should be "y" and "# CONFIG_CMD_CRC32 is not set" should be added for those exceptions.
---
common/Kconfig | 4 ++++ configs/kwb_defconfig | 1 + 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 + include/config_cmd_defaults.h | 1 - include/configs/bur_am335x_common.h | 1 - include/configs/kwb.h | 1 - include/configs/vct.h | 1 - 15 files changed, 14 insertions(+), 4 deletions(-)
common/Kconfig +4 -0
@@ -5,4 +5,8 @@ config CMD_BOOTM bool "Enable boom command" default y +config CMD_CRC32 + bool "Enable crc32 command" + default y + endmenu
configs/kwb_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1" +S:CONFIG_ARM=y +S:CONFIG_TARGET_KWB=y +# CONFIG_CMD_CRC32 is not set
configs/tseries_mmc_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,EMMC_BOOT" +S:CONFIG_ARM=y +S:CONFIG_TARGET_TSERIES=y +# CONFIG_CMD_CRC32 is not set
configs/tseries_nand_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND" +S:CONFIG_ARM=y +S:CONFIG_TARGET_TSERIES=y +# CONFIG_CMD_CRC32 is not set
configs/tseries_spi_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,SPI_BOOT,EMMC_BOOT" +S:CONFIG_ARM=y +S:CONFIG_TARGET_TSERIES=y +# CONFIG_CMD_CRC32 is not set
configs/vct_platinum_onenand_small_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUM,VCT_ONENAND,VCT_SMALL_IMAGE" CONFIG_MIPS=y CONFIG_TARGET_VCT=y +# CONFIG_CMD_CRC32 is not set
configs/vct_platinum_small_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUM,VCT_SMALL_IMAGE" CONFIG_MIPS=y CONFIG_TARGET_VCT=y +# CONFIG_CMD_CRC32 is not set
configs/vct_platinumavc_onenand_small_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUMAVC,VCT_ONENAND,VCT_SMALL_IMAGE" CONFIG_MIPS=y CONFIG_TARGET_VCT=y +# CONFIG_CMD_CRC32 is not set
configs/vct_platinumavc_small_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUMAVC,VCT_SMALL_IMAGE" CONFIG_MIPS=y CONFIG_TARGET_VCT=y +# CONFIG_CMD_CRC32 is not set
configs/vct_premium_onenand_small_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="VCT_PREMIUM,VCT_ONENAND,VCT_SMALL_IMAGE" CONFIG_MIPS=y CONFIG_TARGET_VCT=y +# CONFIG_CMD_CRC32 is not set
configs/vct_premium_small_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="VCT_PREMIUM,VCT_SMALL_IMAGE" CONFIG_MIPS=y CONFIG_TARGET_VCT=y +# CONFIG_CMD_CRC32 is not set
include/config_cmd_defaults.h +0 -1
@@ -9,7 +9,6 @@#ifndef _CONFIG_CMD_DEFAULTS_H_#define _CONFIG_CMD_DEFAULTS_H_ -#define CONFIG_CMD_CRC32 1#define CONFIG_CMD_EXPORTENV 1#define CONFIG_CMD_GO 1#define CONFIG_CMD_IMPORTENV 1
include/configs/bur_am335x_common.h +0 -1
@@ -151,7 +151,6 @@#undef CONFIG_CMD_NFS#undef CONFIG_CMD_SETGETDCR#undef CONFIG_CMD_XIMG -#undef CONFIG_CMD_CRC32/* define command we need always */ #define CONFIG_CMD_ECHO #define CONFIG_CMD_SOURCE
include/configs/kwb.h +0 -1
@@ -89,7 +89,6 @@#undef CONFIG_BOOTM_RTEMS#undef CONFIG_GZIP#undef CONFIG_ZLIB -#undef CONFIG_CMD_CRC32/* USB configuration */ #define CONFIG_USB_MUSB_DSPS
include/configs/vct.h +0 -1
@@ -296,7 +296,6 @@ int vct_gpio_get(int pin);#undef CONFIG_CMD_BEDBUG#undef CONFIG_CMD_CACHE#undef CONFIG_CMD_CONSOLE -#undef CONFIG_CMD_CRC32#undef CONFIG_CMD_DHCP#undef CONFIG_CMD_EEPROM#undef CONFIG_CMD_EEPROM
Signature · 1 line
1.9.1
PATCH 4/10 kconfig: move CONFIG_CMD_CRC32 to Kconfig
PATCH 5/10 kconfig: move CONFIG_CMD_EXPORTENV to Kconfig
In reply to Masahiro YamadaSince CONFIG_CMD_EXPORTENV is defined in config_cmd_defaults.h, it should be enabled for all the boards except bf506f-ezkit that undefs it explicitely.
---
common/Kconfig | 4 ++++ configs/bf506f-ezkit_defconfig | 1 + include/config_cmd_defaults.h | 1 - include/configs/bf506f-ezkit.h | 1 - 4 files changed, 5 insertions(+), 2 deletions(-)
common/Kconfig +4 -0
@@ -9,4 +9,8 @@ config CMD_CRC32 bool "Enable crc32 command" default y +config CMD_EXPORTENV + bool "Enable env export command" + default y + endmenu
configs/bf506f-ezkit_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF506F_EZKIT=y # CONFIG_CMD_BOOTM is not set +# CONFIG_CMD_EXPORTENV is not set
include/config_cmd_defaults.h +0 -1
@@ -9,7 +9,6 @@#ifndef _CONFIG_CMD_DEFAULTS_H_#define _CONFIG_CMD_DEFAULTS_H_ -#define CONFIG_CMD_EXPORTENV 1#define CONFIG_CMD_GO 1#define CONFIG_CMD_IMPORTENV 1
include/configs/bf506f-ezkit.h +0 -1
@@ -85,7 +85,6 @@*/ #define CONFIG_ENV_IS_NOWHERE #define CONFIG_ENV_SIZE 0x400 -#undef CONFIG_CMD_EXPORTENV#undef CONFIG_CMD_IMPORTENV
Signature · 1 line
1.9.1
PATCH 5/10 kconfig: move CONFIG_CMD_EXPORTENV to Kconfig
Tested with sandbox:
PATCH 6/10 kconfig: move CONFIG_CMD_GO to Kconfig
In reply to Masahiro YamadaSince CONFIG_CMD_GO is defined in config_cmd_defaults.h (and no board undefs it its own header), it can be moved to Kconfig with the default value "y".
---
common/Kconfig | 4 ++++ include/config_cmd_defaults.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-)
common/Kconfig +4 -0
@@ -13,4 +13,8 @@ config CMD_EXPORTENV bool "Enable env export command" default y +config CMD_GO + bool "Enable go command" + default y + endmenu
include/config_cmd_defaults.h +0 -1
@@ -9,7 +9,6 @@#ifndef _CONFIG_CMD_DEFAULTS_H_#define _CONFIG_CMD_DEFAULTS_H_ -#define CONFIG_CMD_GO 1#define CONFIG_CMD_IMPORTENV 1#endif
Signature · 1 line
1.9.1
PATCH 6/10 kconfig: move CONFIG_CMD_GO to Kconfig
Tested with sandbox:
PATCH 7/10 kconfig: move CONFIG_CMD_IMPORTENV to Kconfig
In reply to Masahiro YamadaSince CONFIG_CMD_IMPORTENV is defined in config_cmd_defaults.h, it should be enabled for all the boards except bf506f-ezkit that undefs it explicitely.
---
common/Kconfig | 4 ++++ configs/bf506f-ezkit_defconfig | 1 + include/config_cmd_defaults.h | 1 - include/configs/bf506f-ezkit.h | 1 - include/configs/h2200.h | 1 - 5 files changed, 5 insertions(+), 3 deletions(-)
common/Kconfig +4 -0
@@ -13,6 +13,10 @@ config CMD_EXPORTENV bool "Enable env export command" default y +config CMD_IMPORTENV + bool "Enable env import command" + default y + config CMD_GO bool "Enable go command" default y
configs/bf506f-ezkit_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF506F_EZKIT=y # CONFIG_CMD_BOOTM is not set # CONFIG_CMD_EXPORTENV is not set +# CONFIG_CMD_IMPORTENV is not set
include/config_cmd_defaults.h +0 -1
@@ -9,6 +9,5 @@#ifndef _CONFIG_CMD_DEFAULTS_H_#define _CONFIG_CMD_DEFAULTS_H_ -#define CONFIG_CMD_IMPORTENV 1#endif
include/configs/bf506f-ezkit.h +0 -1
@@ -85,7 +85,6 @@*/ #define CONFIG_ENV_IS_NOWHERE #define CONFIG_ENV_SIZE 0x400 -#undef CONFIG_CMD_IMPORTENV/*
include/configs/h2200.h +0 -1
@@ -116,7 +116,6 @@#define CONFIG_BAUDRATE 115200#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 38400, 115200 } -#define CONFIG_CMD_IMPORTENV 1#define CONFIG_CMD_LOADB #define CONFIG_CMD_SOURCE #define CONFIG_CMD_RUN
Signature · 1 line
1.9.1
PATCH 7/10 kconfig: move CONFIG_CMD_IMPORTENV to Kconfig
Tested with sandbox:
PATCH 8/10 kconfig: remove config_cmd_defaults.h
In reply to Masahiro YamadaNow config_cmd_defaults.h is empty so it can be deleted safely.
---
include/config_cmd_defaults.h | 13 ------------- scripts/Makefile.autoconf | 1 - 2 files changed, 14 deletions(-) delete mode 100644 include/config_cmd_defaults.h
include/config_cmd_defaults.h deleted +0 -13
@@ -1,13 +0,0 @@ -/* -* config_cmd_defaults.h - sane defaults for everyone -* -* Copyright (c) 2010-2011 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. -*/ - -#ifndef _CONFIG_CMD_DEFAULTS_H_ -#define _CONFIG_CMD_DEFAULTS_H_ - - -#endif
scripts/Makefile.autoconf +0 -1
@@ -74,7 +74,6 @@ define filechk_config_h | sed '/=/ {s/=/ /;q; } ; { s/$$/ 1/; }'; \ done; \ echo \#define CONFIG_BOARDDIR board/$(if $(VENDOR),$(VENDOR)/)$(BOARD);\ - echo \#include \<config_cmd_defaults.h\>; \ echo \#include \<config_defaults.h\>; \ echo \#include \<configs/$(CONFIG_SYS_CONFIG_NAME).h\>; \ echo \#include \<asm/config.h\>; \
Signature · 1 line
1.9.1
PATCH 8/10 kconfig: remove config_cmd_defaults.h
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
In reply to Masahiro YamadaThis commit moves:
CONFIG_OF_CONTROL
CONFIG_OF_SEPARATE
CONFIG_OF_EMBED
CONFIG_OF_HOSTFILE
Because these options are currently not supported for SPL, the "Device Tree Control" menu does not appear in the SPL configuration.
Note:zynq-common.h should be adjusted so as not to change the default value of CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME.
---
Kconfig | 2 ++ configs/am335x_boneblack_vboot_defconfig | 1 + configs/arndale_defconfig | 1 + configs/beaver_defconfig | 1 + configs/cardhu_defconfig | 1 + configs/colibri_t20_iris_defconfig | 1 + configs/colibri_t30_defconfig | 1 + configs/coreboot-x86_defconfig | 1 + configs/dalmore_defconfig | 1 + configs/harmony_defconfig | 1 + configs/jetson-tk1_defconfig | 1 + configs/medcom-wide_defconfig | 1 + configs/microblaze-generic_defconfig | 2 ++ configs/origen_defconfig | 1 + configs/paz00_defconfig | 1 + configs/peach-pit_defconfig | 1 + configs/plutux_defconfig | 1 + configs/s5pc210_universal_defconfig | 1 + configs/sandbox_defconfig | 1 + configs/seaboard_defconfig | 1 + configs/smdk5250_defconfig | 1 + configs/smdk5420_defconfig | 1 + configs/snow_defconfig | 1 + configs/tec-ng_defconfig | 1 + configs/tec_defconfig | 1 + configs/trats2_defconfig | 1 + configs/trats_defconfig | 1 + configs/trimslice_defconfig | 1 + configs/venice2_defconfig | 1 + configs/ventana_defconfig | 1 + configs/whistler_defconfig | 1 + configs/zynq_microzed_defconfig | 1 + configs/zynq_zc70x_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + configs/zynq_zc770_xm012_defconfig | 1 + configs/zynq_zc770_xm013_defconfig | 1 + configs/zynq_zed_defconfig | 1 + dts/Kconfig | 46 ++++++++++++++++++++++++++++++++ include/configs/am335x_evm.h | 2 -- include/configs/arndale.h | 2 -- include/configs/beaver.h | 2 -- include/configs/cardhu.h | 2 -- include/configs/colibri_t20_iris.h | 2 -- include/configs/colibri_t30.h | 2 -- include/configs/coreboot.h | 2 -- include/configs/dalmore.h | 2 -- include/configs/exynos4-dt.h | 2 -- include/configs/exynos5-dt.h | 2 -- include/configs/harmony.h | 2 -- include/configs/jetson-tk1.h | 2 -- include/configs/medcom-wide.h | 2 -- include/configs/microblaze-generic.h | 2 -- include/configs/mx6qsabreauto.h | 1 - include/configs/paz00.h | 2 -- include/configs/plutux.h | 2 -- include/configs/sandbox.h | 2 -- include/configs/seaboard.h | 2 -- include/configs/tec-ng.h | 2 -- include/configs/tec.h | 2 -- include/configs/tegra-common-post.h | 1 - include/configs/trimslice.h | 2 -- include/configs/venice2.h | 2 -- include/configs/ventana.h | 2 -- include/configs/whistler.h | 2 -- include/configs/zynq-common.h | 9 +------ 65 files changed, 86 insertions(+), 58 deletions(-) create mode 100644 dts/Kconfig
Kconfig +2 -0
@@ -106,6 +106,8 @@ source "arch/Kconfig" source "common/Kconfig" +source "dts/Kconfig" + source "net/Kconfig" source "drivers/Kconfig"
configs/am335x_boneblack_vboot_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,EMMC_BOOT,ENABLE_VBOOT" +S:CONFIG_ARM=y +S:CONFIG_TARGET_AM335X_EVM=y +CONFIG_OF_CONTROL=y
configs/arndale_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_ARNDALE=y +CONFIG_OF_CONTROL=y
configs/beaver_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA30=y +S:CONFIG_TARGET_BEAVER=y +CONFIG_OF_CONTROL=y
configs/cardhu_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA30=y +S:CONFIG_TARGET_CARDHU=y +CONFIG_OF_CONTROL=y
configs/colibri_t20_iris_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_COLIBRI_T20_IRIS=y +CONFIG_OF_CONTROL=y
configs/colibri_t30_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA30=y +S:CONFIG_TARGET_COLIBRI_T30=y +CONFIG_OF_CONTROL=y
configs/coreboot-x86_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0x01110000" CONFIG_X86=y CONFIG_TARGET_COREBOOT=y +CONFIG_OF_CONTROL=y
configs/dalmore_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA114=y +S:CONFIG_TARGET_DALMORE=y +CONFIG_OF_CONTROL=y
configs/harmony_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_HARMONY=y +CONFIG_OF_CONTROL=y
configs/jetson-tk1_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA124=y +S:CONFIG_TARGET_JETSON_TK1=y +CONFIG_OF_CONTROL=y
configs/medcom-wide_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_MEDCOM_WIDE=y +CONFIG_OF_CONTROL=y
configs/microblaze-generic_defconfig +2 -0
@@ -1,3 +1,5 @@ CONFIG_SPL=y +S:CONFIG_MICROBLAZE=y +S:CONFIG_TARGET_MICROBLAZE_GENERIC=y +CONFIG_OF_CONTROL=y +CONFIG_OF_EMBED=y
configs/origen_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_ORIGEN=y +CONFIG_OF_CONTROL=y
configs/paz00_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_PAZ00=y +CONFIG_OF_CONTROL=y
configs/peach-pit_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_PEACH_PIT=y +CONFIG_OF_CONTROL=y
configs/plutux_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_PLUTUX=y +CONFIG_OF_CONTROL=y
configs/s5pc210_universal_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_ARM=y CONFIG_ARCH_EXYNOS=y CONFIG_TARGET_S5PC210_UNIVERSAL=y +CONFIG_OF_CONTROL=y
configs/sandbox_defconfig +1 -0
@@ -0,0 +1 @@ +CONFIG_OF_CONTROL=y
configs/seaboard_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_SEABOARD=y +CONFIG_OF_CONTROL=y
configs/smdk5250_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_SMDK5250=y +CONFIG_OF_CONTROL=y
configs/smdk5420_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_SMDK5420=y +CONFIG_OF_CONTROL=y
configs/snow_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_SNOW=y +CONFIG_OF_CONTROL=y
configs/tec-ng_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA30=y +S:CONFIG_TARGET_TEC_NG=y +CONFIG_OF_CONTROL=y
configs/tec_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_TEC=y +CONFIG_OF_CONTROL=y
configs/trats2_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_ARM=y CONFIG_ARCH_EXYNOS=y CONFIG_TARGET_TRATS2=y +CONFIG_OF_CONTROL=y
configs/trats_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_ARM=y CONFIG_ARCH_EXYNOS=y CONFIG_TARGET_TRATS=y +CONFIG_OF_CONTROL=y
configs/trimslice_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_TRIMSLICE=y +CONFIG_OF_CONTROL=y
configs/venice2_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA124=y +S:CONFIG_TARGET_VENICE2=y +CONFIG_OF_CONTROL=y
configs/ventana_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_VENTANA=y +CONFIG_OF_CONTROL=y
configs/whistler_defconfig +1 -0
@@ -2,3 +2,4 @@ +S:CONFIG_TEGRA=y +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_WHISTLER=y +CONFIG_OF_CONTROL=y
configs/zynq_microzed_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_MICROZED=y +CONFIG_OF_CONTROL=y
configs/zynq_zc70x_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZC70X=y +CONFIG_OF_CONTROL=y
configs/zynq_zc770_xm010_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM010" +S:CONFIG_ARM=y +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZC770=y +CONFIG_OF_CONTROL=y
configs/zynq_zc770_xm012_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM012" +S:CONFIG_ARM=y +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZC770=y +CONFIG_OF_CONTROL=y
configs/zynq_zc770_xm013_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM013" +S:CONFIG_ARM=y +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZC770=y +CONFIG_OF_CONTROL=y
configs/zynq_zed_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZED=y +CONFIG_OF_CONTROL=y
dts/Kconfig new file +46 -0
46 lines not on this page · raw message
include/configs/am335x_evm.h +0 -2
@@ -23,8 +23,6 @@# define CONFIG_TIMESTAMP # define CONFIG_LZO # ifdef CONFIG_ENABLE_VBOOT -# define CONFIG_OF_CONTROL -# define CONFIG_OF_SEPARATE # define CONFIG_DEFAULT_DEVICE_TREE am335x-boneblack# define CONFIG_FIT_SIGNATURE # define CONFIG_RSA
include/configs/arndale.h +0 -2
@@ -22,8 +22,6 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* Allow tracing to be enabled */ #define CONFIG_TRACE
include/configs/beaver.h +0 -2
@@ -26,8 +26,6 @@/* Enable fdt support for Beaver. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra30-beaver -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra30 (Beaver) # "
include/configs/cardhu.h +0 -2
@@ -26,8 +26,6 @@/* Enable fdt support for Cardhu. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra30-cardhu -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra30 (Cardhu) # "
include/configs/colibri_t20_iris.h +0 -2
@@ -11,8 +11,6 @@/* Enable FDT support */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-colibri_t20_iris -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (Colibri) # "
include/configs/colibri_t30.h +0 -2
@@ -12,8 +12,6 @@#include "tegra30-common.h" #define CONFIG_DEFAULT_DEVICE_TREE tegra30-colibri -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE #define V_PROMPT "Colibri T30 # "#define CONFIG_TEGRA_BOARD_STRING "Toradex Colibri T30"
include/configs/coreboot.h +0 -2
@@ -28,8 +28,6 @@#define CONFIG_LMB #define CONFIG_OF_LIBFDT -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE #define CONFIG_DEFAULT_DEVICE_TREE link#define CONFIG_BOOTSTAGE
include/configs/dalmore.h +0 -2
@@ -23,8 +23,6 @@/* Enable fdt support for Dalmore. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra114-dalmore -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra114 (Dalmore) # "
include/configs/exynos4-dt.h +0 -2
@@ -23,8 +23,6 @@#define CONFIG_SYS_GENERIC_BOARD /* Enable fdt support */ -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE #define CONFIG_SYS_CACHELINE_SIZE 32
include/configs/exynos5-dt.h +0 -2
@@ -25,8 +25,6 @@#define CONFIG_EXYNOS_SPL /* Enable fdt support for Exynos5250 */ -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* Allow tracing to be enabled */ #define CONFIG_TRACE
include/configs/harmony.h +0 -2
@@ -13,8 +13,6 @@/* Enable fdt support for Harmony. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-harmony -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (Harmony) # "
include/configs/jetson-tk1.h +0 -2
@@ -14,8 +14,6 @@/* Enable fdt support for Jetson TK1. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra124-jetson-tk1 -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra124 (Jetson TK1) # "
include/configs/medcom-wide.h +0 -2
@@ -14,8 +14,6 @@/* Enable fdt support for Medcom-Wide. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-medcom-wide -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (Medcom-Wide) # "
include/configs/microblaze-generic.h +0 -2
@@ -15,8 +15,6 @@#define MICROBLAZE_V5 1/* Open Firmware DTS */ -#define CONFIG_OF_CONTROL 1 -#define CONFIG_OF_EMBED 1#define CONFIG_DEFAULT_DEVICE_TREE microblaze-generic/* linear and spi flash memory */
include/configs/mx6qsabreauto.h +0 -1
@@ -45,7 +45,6 @@#define CONFIG_SYS_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_OF_SEPARATE #define CONFIG_DEFAULT_DEVICE_TREE imx6q-sabreauto#endif /* __MX6QSABREAUTO_CONFIG_H */
include/configs/paz00.h +0 -2
@@ -22,8 +22,6 @@/* Enable fdt support for Paz00. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-paz00 -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (Paz00) MOD # "
include/configs/plutux.h +0 -2
@@ -14,8 +14,6 @@/* Enable fdt support for Plutux. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-plutux -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (Plutux) # "
include/configs/sandbox.h +0 -2
@@ -35,8 +35,6 @@/* Number of bits in a C 'long' on this architecture */ #define CONFIG_SANDBOX_BITS_PER_LONG 64 -#define CONFIG_OF_CONTROL -#define CONFIG_OF_HOSTFILE #define CONFIG_OF_LIBFDT #define CONFIG_LMB #define CONFIG_FIT
include/configs/seaboard.h +0 -2
@@ -21,8 +21,6 @@/* Enable fdt support for Seaboard. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-seaboard -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (SeaBoard) # "
include/configs/tec-ng.h +0 -2
@@ -12,8 +12,6 @@/* Enable fdt support for tec-ng. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra30-tec-ng -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra30 (TEC-NG) # "
include/configs/tec.h +0 -2
@@ -14,8 +14,6 @@/* Enable fdt support for TEC. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-tec -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (TEC) # "
include/configs/tegra-common-post.h +0 -1
@@ -69,7 +69,6 @@/* remove devicetree support */ #ifdef CONFIG_OF_CONTROL -#undef CONFIG_OF_CONTROL#endif /* remove I2C support */
include/configs/trimslice.h +0 -2
@@ -13,8 +13,6 @@/* Enable fdt support for TrimSlice. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-trimslice -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (TrimSlice) # "
include/configs/venice2.h +0 -2
@@ -14,8 +14,6 @@/* Enable fdt support for Venice2. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra124-venice2 -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra124 (Venice2) # "
include/configs/ventana.h +0 -2
@@ -13,8 +13,6 @@/* Enable fdt support for Ventana. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-ventana -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (Ventana) # "
include/configs/whistler.h +0 -2
@@ -13,8 +13,6 @@/* Enable fdt support for Whistler. Flash the image in u-boot-dtb.bin */ #define CONFIG_DEFAULT_DEVICE_TREE tegra20-whistler -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE /* High-level configuration options */ #define V_PROMPT "Tegra20 (Whistler) # "
include/configs/zynq-common.h +1 -8
@@ -227,8 +227,6 @@#define CONFIG_IMAGE_FORMAT_LEGACY /* enable also legacy image format */ /* FDT support */ -#define CONFIG_OF_CONTROL -#define CONFIG_OF_SEPARATE #define CONFIG_DISPLAY_BOARDINFO_LATE /* RSA support */
@@ -273,18 +271,13 @@#define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION 1#define CONFIG_SPL_LIBDISK_SUPPORT #define CONFIG_SPL_FAT_SUPPORT -#if defined(CONFIG_OF_CONTROL ) && defined(CONFIG_OF_SEPARATE ) -# define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot-dtb.img" -#else -# define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot.img" -#endif +#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot-dtb.img"#endif /* Disable dcache for SPL just for sure */ #ifdef CONFIG_SPL_BUILD #define CONFIG_SYS_DCACHE_OFF #undef CONFIG_FPGA -#undef CONFIG_OF_CONTROL#endif /* Address in RAM where the parameters must be copied by SPL. */
Signature · 1 line
1.9.1
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
Quoted 6 lines · Masahiro Yamada
This commit moves:
CONFIG_OF_CONTROL
CONFIG_OF_SEPARATE
CONFIG_OF_EMBED
CONFIG_OF_HOSTFILE
Quoted 7 lines
Because these options are currently not supported for SPL, the "Device Tree Control" menu does not appear in the SPL configuration.
Note:
zynq-common.hshould be adjusted so as not to change the default value ofCONFIG_SPL_FAT_LOAD_PAYLOAD_NAME.
I don't believe this is the correct approach; CONFIG_OF_CONTROL isn't a user-configurable option, and hence shouldn't show up in *_defconfig. "select OF_CONTROL" in a Kconfig file probably makes sense though.
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
Hi Stephen,
2014-09-09 0:04 GMT+09:00 Stephen Warren <[email protected]>:
Quoted 3 lines
I don't believe this is the correct approach;
CONFIG_OF_CONTROLisn't a user-configurable option, and hence shouldn't show up in*_defconfig. "selectOF_CONTROL" in aKconfigfile probably makes sense though.
I think it depends on the board (SoC).
In my understanding, Zynq boards should work with/without Device Tree control. (Moreover, Zynq boards work with/without SPL)
At least as for Zynq,CONFIG_OF_CONTROL ( and CONFIG_SPL too) is a user-configurable option.
(Michal, please correct me if I am wrong.)
I am not familiar with Tegra SoCs, but
do Tegra boards always Device Tree? ( and only work with SPL ?)
If so,
config TEGRA
select SPL
select OF_CONTROL
looks better?
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
Quoted 25 lines · Masahiro YAMADA
Hi Stephen,
2014-09-09 0:04 GMT+09:00 Stephen Warren <[email protected]>:
Quoted 3 lines
I don't believe this is the correct approach;
CONFIG_OF_CONTROLisn't a user-configurable option, and hence shouldn't show up in*_defconfig. "selectOF_CONTROL" in aKconfigfile probably makes sense though.I think it depends on the board (SoC).
In my understanding, Zynq boards should work with/without Device Tree control. (Moreover, Zynq boards work with/without SPL)
At least as for Zynq,
CONFIG_OF_CONTROL( andCONFIG_SPLtoo) is a user-configurable option.(Michal, please correct me if I am wrong.)
I am not familiar with Tegra SoCs, but
do Tegra boards always Device Tree? ( and only work with SPL ?)
Quoted 7 lines
If so,
config TEGRA
select SPL
selectOF_CONTROLlooks better?
That looks correct for Tegra.
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
Hi Stephen,
2014-09-09 0:58 GMT+09:00 Stephen Warren <[email protected]>:
Quoted 31 lines · Masahiro YAMADA
Quoted 30 lines
Hi Stephen,
2014-09-09 0:04 GMT+09:00 Stephen Warren <[email protected]>:
Quoted 3 lines
I don't believe this is the correct approach;
CONFIG_OF_CONTROLisn't a user-configurable option, and hence shouldn't show up in*_defconfig. "selectOF_CONTROL" in aKconfigfile probably makes sense though.I think it depends on the board (SoC).
In my understanding, Zynq boards should work with/without Device Tree control.
(Moreover, Zynq boards work with/without SPL)At least as for Zynq,
CONFIG_OF_CONTROL( andCONFIG_SPLtoo) is a user-configurable option.(Michal, please correct me if I am wrong.)
I am not familiar with Tegra SoCs, but
do Tegra boards always Device Tree? ( and only work with SPL ?)If so,
Quoted 9 lines
Quoted 5 lines
config TEGRA
select SPL
selectOF_CONTROLlooks better?
That looks correct for Tegra.
OK. I will send v2.CONFIG_OF_CONTROL in tegra defconfigs will go away.
(BTW, I forgot to mention a famous board; beaglebone black.
am335_boneblack_defconfig disables CONFIG_OF_CONTROL, whereas am335_boneblack_vboot_defconfig enables it. )
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
Hi Samsung developers,
Simon Glass,
2014-09-09 1:10 GMT+09:00 Masahiro YAMADA <[email protected]>:
Quoted 45 lines
Hi Stephen,
2014-09-09 0:58 GMT+09:00 Stephen Warren <[email protected]>:
Quoted 31 lines · Masahiro YAMADA
Quoted 30 lines
Hi Stephen,
2014-09-09 0:04 GMT+09:00 Stephen Warren <[email protected]>:
Quoted 3 lines
I don't believe this is the correct approach;
CONFIG_OF_CONTROLisn't a user-configurable option, and hence shouldn't show up in*_defconfig. "selectOF_CONTROL" in aKconfigfile probably makes sense though.I think it depends on the board (SoC).
In my understanding, Zynq boards should work with/without Device Tree control.
(Moreover, Zynq boards work with/without SPL)At least as for Zynq,
CONFIG_OF_CONTROL( andCONFIG_SPLtoo) is a user-configurable option.(Michal, please correct me if I am wrong.)
I am not familiar with Tegra SoCs, but
do Tegra boards always Device Tree? ( and only work with SPL ?)If so,
Quoted 9 lines
Quoted 5 lines
config TEGRA
select SPL
selectOF_CONTROLlooks better?
That looks correct for Tegra.
Quoted 9 lines
OK. I will send v2.
CONFIG_OF_CONTROLin tegra defconfigs will go away.(BTW, I forgot to mention a famous board; beaglebone black.
am335_boneblack_defconfigdisablesCONFIG_OF_CONTROL, whereasam335_boneblack_vboot_defconfigenables it. )
Before posting v2 of this series,
please let me ask the same question on Exynos and Sandbox
Do Exynos boards always need Device Tree to run U-Boot? (that is, CONFIG_OF_CONTROL must be "select"ed.)
or
Do they work with/without Device Tree?
(that is, users can enable/disable via "make menuconfig" or friends.)
What about Sandbox?
Best Regards
Masahiro Yamada
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
In reply to Masahiro YAMADAQuoted 13 lines · Masahiro YAMADA
Hi Stephen,
2014-09-09 0:04 GMT+09:00 Stephen Warren <[email protected]>:
Quoted 3 lines
I don't believe this is the correct approach;
CONFIG_OF_CONTROLisn't a user-configurable option, and hence shouldn't show up in*_defconfig. "selectOF_CONTROL" in aKconfigfile probably makes sense though.I think it depends on the board (SoC).
Quoted 7 lines
In my understanding, Zynq boards should work with/without Device Tree control. (Moreover, Zynq boards work with/without SPL)
At least as for Zynq,
CONFIG_OF_CONTROL( andCONFIG_SPLtoo) is a user-configurable option.(Michal, please correct me if I am wrong.)
I don't want to restrict people with thing which they want to do that's why both options are just there.
Thanks,
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140916/630ae338/attachment.pgp>
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
In reply to Masahiro YamadaHi Masahiro,
Quoted 20 lines · Masahiro Yamada
This commit moves:
CONFIG_OF_CONTROL
CONFIG_OF_SEPARATE
CONFIG_OF_EMBED
CONFIG_OF_HOSTFILEBecause these options are currently not supported for SPL, the "Device Tree Control" menu does not appear in the SPL configuration.
Note:
zynq-common.hshould be adjusted so as not to change the default value ofCONFIG_SPL_FAT_LOAD_PAYLOAD_NAME.Signed-off-by Masahiro Yamada <[email protected]>Cc Simon Glass <[email protected]>Cc Stephen Warren <[email protected]>Cc Minkyu Kang <[email protected]>Cc Michal Simek <[email protected]>---
[...]
Quoted 6 lines
dts/Kconfig new file +0
-0
dts/Kconfig line 10
Quoted 10 lines
dts/Kconfig new file +10
-0@@ -0,0 +1,46 @@ +# +# Device Tree Control +# +# TODO: +# This feature is not currently supported for SPL, +# but this restriction should be removed in the future. + +menu "Device Tree Control" + depends on !SPL_BUILD + depends on ARM || MICROBLAZE || SANDBOX || X86
I suggest to use boolean symbols HAS_* or SUPPORTS_* like the kernel does. For example:
config SUPPORTS_OF_CONTROL
bool
menu "Device Tree Control"
depends on !SPL_BUILD
depends on SUPPORTS_OF_CONTROL
arch/Kconfig:
config ARM
bool "ARM architecture"
select SUPPORTS_OF_CONTROL
Quoted 37 lines
dts/Kconfig new file +36
-0+ +config OF_CONTROL + bool "Run-time configuration via Device Tree" + help + This feature provides for run-time configuration of U-Boot + via a flattened device tree. + +choice + prompt "Provider of DTB for DT control" + depends on OF_CONTROL + default OF_HOSTFILE if SANDBOX + default OF_SEPARATE + +config OF_SEPARATE + bool "Separate DTB for DT control" + help + If this option is enabled, the device tree will be built and + placed as a separate u-boot.dtb file alongside the U-Boot image. + +config OF_EMBED + bool "Embedded DTB for DT control" + help + If this option is enabled, the device tree will be picked up and + built into the U-Boot image. + +config OF_HOSTFILE + bool "Host filed DTB for DT control" + depends on SANDBOX + help + If this option is enabled, DTB will be read from a file on startup. + This is only useful for Sandbox. Use the -d flag to U-Boot to + specify the file to read. + +endchoice + +endmenu
Signature · 1 line
- Daniel
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
Hi Daniel,
Quoted 29 lines · On Mon, 08 Sep 2014 21:23:05 +0200 Daniel Schwierzeck…
Quoted 7 lines
dts/Kconfig new file +0
-0dts/Kconfig line 10
Quoted 10 lines
dts/Kconfig new file +10
-0@@ -0,0 +1,46 @@ +# +# Device Tree Control +# +# TODO: +# This feature is not currently supported for SPL, +# but this restriction should be removed in the future. + +menu "Device Tree Control" + depends on !SPL_BUILD + depends on ARM || MICROBLAZE || SANDBOX || X86I suggest to use boolean symbols HAS_* or SUPPORTS_* like the kernel does. For example:
config
SUPPORTS_OF_CONTROL
boolmenu "Device Tree Control"
depends on !SPL_BUILD
depends onSUPPORTS_OF_CONTROL
Quoted 5 lines
arch/Kconfig:
config ARM
bool "ARM architecture"
selectSUPPORTS_OF_CONTROL
Good idea,
altough HAVE_* seems more common:
In Linux 3.17-rc4,
$ find . -name 'Kconfig*' | xargs grep HAVE_ | wc
1332 4394 71649
$ find . -name 'Kconfig*' | xargs grep HAS_ | wc
760 2744 40496
$ find . -name 'Kconfig*' | xargs grep SUPPORTS_ | wc
487 1571 26996Besides, Documentation/kbuild/kconfig-language.txt suggests to do so.
---------------------------8<---------------------------
Adding common features and make the usage configurable
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is a common idiom to implement a feature/functionality that are relevant for some architectures but not all.
The recommended way to do so is to use a config variable named HAVE_* that is defined in a common Kconfig file and selected by the relevant architectures.
An example is the generic IOMAP functionality.
We would in lib/Kconfig see:
# Generic IOMAP is used to ...
config HAVE_GENERIC_IOMAP
config GENERIC_IOMAP
depends on HAVE_GENERIC_IOMAP && FOO
And in lib/Makefile we would see:
obj-$(CONFIG_GENERIC_IOMAP) += iomap.o
For each architecture using the generic IOMAP functionality we would see:
config X86
select ...
select HAVE_GENERIC_IOMAP
select ...Note: we use the existing config option and avoid creating a new config variable to select HAVE_GENERIC_IOMAP.
Note: the use of the internal config variable HAVE_GENERIC_IOMAP, it is introduced to overcome the limitation of select which will force a config option to 'y' no matter the dependencies.
The dependencies are moved to the symbol GENERIC_IOMAP and we avoid the situation where select forces a symbol equals to 'y'.
---------------------------->8----------------------------
I was also thinking to add HAVE_SPL_SUPPORT.
config SPL
bool "Enable SPL"
depends on HAVE_SPL_SUPPORT
Best Regards
Masahiro Yamada
PATCH 10/10 kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig
In reply to Masahiro YamadaThis option specifies the default Device Tree used for the run-time configuration of U-Boot.
---
configs/am335x_boneblack_vboot_defconfig | 1 + configs/arndale_defconfig | 1 + configs/beaver_defconfig | 1 + configs/cardhu_defconfig | 1 + configs/colibri_t20_iris_defconfig | 1 + configs/colibri_t30_defconfig | 1 + configs/coreboot-x86_defconfig | 1 + configs/dalmore_defconfig | 1 + configs/harmony_defconfig | 1 + configs/jetson-tk1_defconfig | 1 + configs/medcom-wide_defconfig | 1 + configs/microblaze-generic_defconfig | 1 + configs/mx6dlsabreauto_defconfig | 1 + configs/mx6qsabreauto_defconfig | 1 + configs/origen_defconfig | 1 + configs/paz00_defconfig | 1 + configs/peach-pit_defconfig | 1 + configs/plutux_defconfig | 1 + configs/s5pc210_universal_defconfig | 1 + configs/sandbox_defconfig | 1 + configs/seaboard_defconfig | 1 + configs/smdk5250_defconfig | 1 + configs/smdk5420_defconfig | 1 + configs/snow_defconfig | 1 + configs/tec-ng_defconfig | 1 + configs/tec_defconfig | 1 + configs/trats2_defconfig | 1 + configs/trats_defconfig | 1 + configs/trimslice_defconfig | 1 + configs/venice2_defconfig | 1 + configs/ventana_defconfig | 1 + configs/vexpress_aemv8a_defconfig | 1 + configs/vexpress_aemv8a_semi_defconfig | 1 + configs/whistler_defconfig | 1 + configs/zynq_microzed_defconfig | 1 + configs/zynq_zc70x_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + configs/zynq_zc770_xm012_defconfig | 1 + configs/zynq_zc770_xm013_defconfig | 1 + configs/zynq_zed_defconfig | 1 + dts/Kconfig | 8 ++++++++ include/configs/am335x_evm.h | 1 - include/configs/arndale.h | 1 - include/configs/beaver.h | 1 - include/configs/cardhu.h | 1 - include/configs/colibri_t20_iris.h | 1 - include/configs/colibri_t30.h | 1 - include/configs/coreboot.h | 1 - include/configs/dalmore.h | 1 - include/configs/harmony.h | 1 - include/configs/jetson-tk1.h | 1 - include/configs/medcom-wide.h | 1 - include/configs/microblaze-generic.h | 1 - include/configs/mx6qsabreauto.h | 1 - include/configs/origen.h | 2 -- include/configs/paz00.h | 1 - include/configs/peach-pit.h | 2 -- include/configs/plutux.h | 1 - include/configs/s5pc210_universal.h | 2 -- include/configs/sandbox.h | 1 - include/configs/seaboard.h | 1 - include/configs/smdk5250.h | 2 -- include/configs/smdk5420.h | 2 -- include/configs/snow.h | 2 -- include/configs/tec-ng.h | 1 - include/configs/tec.h | 1 - include/configs/trats.h | 2 -- include/configs/trats2.h | 2 -- include/configs/trimslice.h | 1 - include/configs/venice2.h | 1 - include/configs/ventana.h | 1 - include/configs/vexpress_aemv8a.h | 1 - include/configs/whistler.h | 1 - include/configs/zynq_microzed.h | 1 - include/configs/zynq_zc70x.h | 1 - include/configs/zynq_zc770.h | 3 --- include/configs/zynq_zed.h | 1 - 77 files changed, 48 insertions(+), 46 deletions(-)
configs/am335x_boneblack_vboot_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,EMMC_BOOT,ENABLE_VBOOT" +S:CONFIG_ARM=y +S:CONFIG_TARGET_AM335X_EVM=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="am335x-boneblack"
configs/arndale_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_ARNDALE=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale"
configs/beaver_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA30=y +S:CONFIG_TARGET_BEAVER=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra30-beaver"
configs/cardhu_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA30=y +S:CONFIG_TARGET_CARDHU=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra30-cardhu"
configs/colibri_t20_iris_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_COLIBRI_T20_IRIS=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-colibri_t20_iris"
configs/colibri_t30_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA30=y +S:CONFIG_TARGET_COLIBRI_T30=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra30-colibri"
configs/coreboot-x86_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0x01110000" CONFIG_X86=y CONFIG_TARGET_COREBOOT=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="link"
configs/dalmore_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA114=y +S:CONFIG_TARGET_DALMORE=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra114-dalmore"
configs/harmony_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_HARMONY=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-harmony"
configs/jetson-tk1_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA124=y +S:CONFIG_TARGET_JETSON_TK1=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra124-jetson-tk1"
configs/medcom-wide_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_MEDCOM_WIDE=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-medcom-wide"
configs/microblaze-generic_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_TARGET_MICROBLAZE_GENERIC=y CONFIG_OF_CONTROL=y CONFIG_OF_EMBED=y +CONFIG_DEFAULT_DEVICE_TREE="microblaze-generic"
configs/mx6dlsabreauto_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/mx6dl.cfg,MX6DL" CONFIG_ARM=y CONFIG_TARGET_MX6QSABREAUTO=y +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabreauto"
configs/mx6qsabreauto_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg,MX6Q" CONFIG_ARM=y CONFIG_TARGET_MX6QSABREAUTO=y +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabreauto"
configs/origen_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_ORIGEN=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="exynos4210-origen"
configs/paz00_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_PAZ00=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-paz00"
configs/peach-pit_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_PEACH_PIT=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="exynos5420-peach-pit"
configs/plutux_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_PLUTUX=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-plutux"
configs/s5pc210_universal_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_ARM=y CONFIG_ARCH_EXYNOS=y CONFIG_TARGET_S5PC210_UNIVERSAL=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="exynos4210-universal_c210"
configs/sandbox_defconfig +1 -0
@@ -1 +1,2 @@ CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="sandbox"
configs/seaboard_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_SEABOARD=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-seaboard"
configs/smdk5250_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_SMDK5250=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250"
configs/smdk5420_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_SMDK5420=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="exynos5420-smdk5420"
configs/snow_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_ARCH_EXYNOS=y +S:CONFIG_TARGET_SNOW=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="exynos5250-snow"
configs/tec-ng_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA30=y +S:CONFIG_TARGET_TEC_NG=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra30-tec-ng"
configs/tec_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_TEC=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-tec"
configs/trats2_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_ARM=y CONFIG_ARCH_EXYNOS=y CONFIG_TARGET_TRATS2=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="exynos4412-trats2"
configs/trats_defconfig +1 -0
@@ -2,3 +2,4 @@ CONFIG_ARM=y CONFIG_ARCH_EXYNOS=y CONFIG_TARGET_TRATS=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="exynos4210-trats"
configs/trimslice_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_TRIMSLICE=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-trimslice"
configs/venice2_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA124=y +S:CONFIG_TARGET_VENICE2=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra124-venice2"
configs/ventana_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_VENTANA=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-ventana"
configs/vexpress_aemv8a_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ARM64" CONFIG_ARM=y CONFIG_TARGET_VEXPRESS_AEMV8A=y +CONFIG_DEFAULT_DEVICE_TREE="vexpress64"
configs/vexpress_aemv8a_semi_defconfig +1 -0
@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ARM64,SEMIHOSTING,BASE_FVP" CONFIG_ARM=y CONFIG_TARGET_VEXPRESS_AEMV8A_SEMI=y +CONFIG_DEFAULT_DEVICE_TREE="vexpress64"
configs/whistler_defconfig +1 -0
@@ -3,3 +3,4 @@ +S:CONFIG_TEGRA20=y +S:CONFIG_TARGET_WHISTLER=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="tegra20-whistler"
configs/zynq_microzed_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_MICROZED=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="zynq-microzed"
configs/zynq_zc70x_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZC70X=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="zynq-zc702"
configs/zynq_zc770_xm010_defconfig +1 -0
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM010" +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZC770=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm010"
configs/zynq_zc770_xm012_defconfig +1 -0
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM012" +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZC770=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm012"
configs/zynq_zc770_xm013_defconfig +1 -0
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM013" +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZC770=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm013"
configs/zynq_zed_defconfig +1 -0
@@ -3,3 +3,4 @@ CONFIG_SPL=y +S:CONFIG_ZYNQ=y +S:CONFIG_TARGET_ZYNQ_ZED=y CONFIG_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="zynq-zed"
dts/Kconfig +8 -0
@@ -43,4 +43,12 @@ config OF_HOSTFILE endchoice +config DEFAULT_DEVICE_TREE + string "Default Device Tree for the run-time configuration" + help + This option specifies the default Device Tree used for the run-time + configuration of U-Boot. + It can be overrided from the command line: + $ make DEVICE_TREE=<device-tree-name> + endmenu
include/configs/am335x_evm.h +0 -1
@@ -23,7 +23,6 @@# define CONFIG_TIMESTAMP # define CONFIG_LZO # ifdef CONFIG_ENABLE_VBOOT -# define CONFIG_DEFAULT_DEVICE_TREE am335x-boneblack# define CONFIG_FIT_SIGNATURE # define CONFIG_RSA # endif
include/configs/arndale.h +0 -1
@@ -224,7 +224,6 @@#define CONFIG_POWER_I2C #define CONFIG_POWER_MAX77686 -#define CONFIG_DEFAULT_DEVICE_TREE exynos5250-arndale#define CONFIG_PREBOOT
include/configs/beaver.h +0 -1
@@ -25,7 +25,6 @@#define CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1 /* Enable fdt support for Beaver. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra30-beaver/* High-level configuration options */ #define V_PROMPT "Tegra30 (Beaver) # "
include/configs/cardhu.h +0 -1
@@ -25,7 +25,6 @@#define CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3 /* Enable fdt support for Cardhu. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra30-cardhu/* High-level configuration options */ #define V_PROMPT "Tegra30 (Cardhu) # "
include/configs/colibri_t20_iris.h +0 -1
@@ -10,7 +10,6 @@#include "tegra20-common.h" /* Enable FDT support */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-colibri_t20_iris/* High-level configuration options */ #define V_PROMPT "Tegra20 (Colibri) # "
include/configs/colibri_t30.h +0 -1
@@ -11,7 +11,6 @@#include "tegra30-common.h" -#define CONFIG_DEFAULT_DEVICE_TREE tegra30-colibri#define V_PROMPT "Colibri T30 # "#define CONFIG_TEGRA_BOARD_STRING "Toradex Colibri T30"
include/configs/coreboot.h +0 -1
@@ -28,7 +28,6 @@#define CONFIG_LMB #define CONFIG_OF_LIBFDT -#define CONFIG_DEFAULT_DEVICE_TREE link#define CONFIG_BOOTSTAGE #define CONFIG_BOOTSTAGE_REPORT
include/configs/dalmore.h +0 -1
@@ -22,7 +22,6 @@#include "tegra114-common.h" /* Enable fdt support for Dalmore. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra114-dalmore/* High-level configuration options */ #define V_PROMPT "Tegra114 (Dalmore) # "
include/configs/harmony.h +0 -1
@@ -12,7 +12,6 @@#include "tegra20-common.h" /* Enable fdt support for Harmony. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-harmony/* High-level configuration options */ #define V_PROMPT "Tegra20 (Harmony) # "
include/configs/jetson-tk1.h +0 -1
@@ -13,7 +13,6 @@#include "tegra124-common.h" /* Enable fdt support for Jetson TK1. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra124-jetson-tk1/* High-level configuration options */ #define V_PROMPT "Tegra124 (Jetson TK1) # "
include/configs/medcom-wide.h +0 -1
@@ -13,7 +13,6 @@#include "tegra20-common.h" /* Enable fdt support for Medcom-Wide. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-medcom-wide/* High-level configuration options */ #define V_PROMPT "Tegra20 (Medcom-Wide) # "
include/configs/microblaze-generic.h +0 -1
@@ -15,7 +15,6 @@#define MICROBLAZE_V5 1/* Open Firmware DTS */ -#define CONFIG_DEFAULT_DEVICE_TREE microblaze-generic/* linear and spi flash memory */ #ifdef XILINX_FLASH_START
include/configs/mx6qsabreauto.h +0 -1
@@ -45,6 +45,5 @@#define CONFIG_SYS_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_DEFAULT_DEVICE_TREE imx6q-sabreauto#endif /* __MX6QSABREAUTO_CONFIG_H */
include/configs/origen.h +0 -2
@@ -13,8 +13,6 @@#define CONFIG_SYS_PROMPT "ORIGEN # " -#undef CONFIG_DEFAULT_DEVICE_TREE -#define CONFIG_DEFAULT_DEVICE_TREE exynos4210-origen/* High Level Configuration Options */ #define CONFIG_EXYNOS4210 1/* which is a EXYNOS4210 SoC */
include/configs/paz00.h +0 -1
@@ -21,7 +21,6 @@#include "tegra20-common.h" /* Enable fdt support for Paz00. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-paz00/* High-level configuration options */ #define V_PROMPT "Tegra20 (Paz00) MOD # "
include/configs/peach-pit.h +0 -2
@@ -13,8 +13,6 @@#include <configs/exynos5420.h> -#undef CONFIG_DEFAULT_DEVICE_TREE -#define CONFIG_DEFAULT_DEVICE_TREE exynos5420-peach-pit/* select serial console configuration */ #define CONFIG_SERIAL3 /* use SERIAL 3 */
include/configs/plutux.h +0 -1
@@ -13,7 +13,6 @@#include "tegra20-common.h" /* Enable fdt support for Plutux. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-plutux/* High-level configuration options */ #define V_PROMPT "Tegra20 (Plutux) # "
include/configs/s5pc210_universal.h +0 -2
@@ -14,8 +14,6 @@#define CONFIG_SYS_PROMPT "Universal # "/* Monitor Command Prompt */ -#undef CONFIG_DEFAULT_DEVICE_TREE -#define CONFIG_DEFAULT_DEVICE_TREE exynos4210-universal_c210#define CONFIG_TIZEN /* TIZEN lib */
include/configs/sandbox.h +0 -1
@@ -41,7 +41,6 @@#define CONFIG_FIT_SIGNATURE #define CONFIG_RSA #define CONFIG_CMD_FDT -#define CONFIG_DEFAULT_DEVICE_TREE sandbox#define CONFIG_ANDROID_BOOT_IMAGE #define CONFIG_FS_FAT
include/configs/seaboard.h +0 -1
@@ -20,7 +20,6 @@#include "tegra20-common.h" /* Enable fdt support for Seaboard. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-seaboard/* High-level configuration options */ #define V_PROMPT "Tegra20 (SeaBoard) # "
include/configs/smdk5250.h +0 -2
@@ -11,8 +11,6 @@#include <configs/exynos5250-dt.h> -#undef CONFIG_DEFAULT_DEVICE_TREE -#define CONFIG_DEFAULT_DEVICE_TREE exynos5250-smdk5250/* Enable FIT support and comparison */ #define CONFIG_FIT
include/configs/smdk5420.h +0 -2
@@ -15,8 +15,6 @@#define CONFIG_SMDK5420 /* which is in a SMDK5420 */ -#undef CONFIG_DEFAULT_DEVICE_TREE -#define CONFIG_DEFAULT_DEVICE_TREE exynos5420-smdk5420/* select serial console configuration */ #define CONFIG_SERIAL3 /* use SERIAL 3 */
include/configs/snow.h +0 -2
@@ -11,8 +11,6 @@#include <configs/exynos5250-dt.h> -#undef CONFIG_DEFAULT_DEVICE_TREE -#define CONFIG_DEFAULT_DEVICE_TREE exynos5250-snow/* Enable FIT support and comparison */ #define CONFIG_FIT
include/configs/tec-ng.h +0 -1
@@ -11,7 +11,6 @@#include "tegra30-common.h" /* Enable fdt support for tec-ng. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra30-tec-ng/* High-level configuration options */ #define V_PROMPT "Tegra30 (TEC-NG) # "
include/configs/tec.h +0 -1
@@ -13,7 +13,6 @@#include "tegra20-common.h" /* Enable fdt support for TEC. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-tec/* High-level configuration options */ #define V_PROMPT "Tegra20 (TEC) # "
include/configs/trats.h +0 -2
@@ -16,8 +16,6 @@#define CONFIG_TRATS -#undef CONFIG_DEFAULT_DEVICE_TREE -#define CONFIG_DEFAULT_DEVICE_TREE exynos4210-trats#define CONFIG_TIZEN /* TIZEN lib */
include/configs/trats2.h +0 -2
@@ -15,8 +15,6 @@#define CONFIG_SYS_PROMPT "Trats2 # "/* Monitor Command Prompt */ -#undef CONFIG_DEFAULT_DEVICE_TREE -#define CONFIG_DEFAULT_DEVICE_TREE exynos4412-trats2#define CONFIG_TIZEN /* TIZEN lib */
include/configs/trimslice.h +0 -1
@@ -12,7 +12,6 @@#include "tegra20-common.h" /* Enable fdt support for TrimSlice. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-trimslice/* High-level configuration options */ #define V_PROMPT "Tegra20 (TrimSlice) # "
include/configs/venice2.h +0 -1
@@ -13,7 +13,6 @@#include "tegra124-common.h" /* Enable fdt support for Venice2. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra124-venice2/* High-level configuration options */ #define V_PROMPT "Tegra124 (Venice2) # "
include/configs/ventana.h +0 -1
@@ -12,7 +12,6 @@#include "tegra20-common.h" /* Enable fdt support for Ventana. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-ventana/* High-level configuration options */ #define V_PROMPT "Tegra20 (Ventana) # "
include/configs/vexpress_aemv8a.h +0 -1
@@ -51,7 +51,6 @@/* Flat Device Tree Definitions */ #define CONFIG_OF_LIBFDT -#define CONFIG_DEFAULT_DEVICE_TREE vexpress64/* SMP Spin Table Definitions */ #ifdef CONFIG_BASE_FVP
include/configs/whistler.h +0 -1
@@ -12,7 +12,6 @@#include "tegra20-common.h" /* Enable fdt support for Whistler. Flash the image in u-boot-dtb.bin */ -#define CONFIG_DEFAULT_DEVICE_TREE tegra20-whistler/* High-level configuration options */ #define V_PROMPT "Tegra20 (Whistler) # "
include/configs/zynq_microzed.h +0 -1
@@ -19,7 +19,6 @@#define CONFIG_SYS_NO_FLASH #define CONFIG_ZYNQ_SDHCI0 -#define CONFIG_DEFAULT_DEVICE_TREE zynq-microzed#include <configs/zynq-common.h>
include/configs/zynq_zc70x.h +0 -1
@@ -23,7 +23,6 @@#define CONFIG_ZYNQ_I2C0 #define CONFIG_ZYNQ_EEPROM #define CONFIG_ZYNQ_BOOT_FREEBSD -#define CONFIG_DEFAULT_DEVICE_TREE zynq-zc702#include <configs/zynq-common.h>
include/configs/zynq_zc770.h +0 -3
@@ -20,18 +20,15 @@# define CONFIG_ZYNQ_GEM_PHY_ADDR0 7# define CONFIG_ZYNQ_SDHCI0 # define CONFIG_ZYNQ_SPI -# define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm010#elif defined(CONFIG_ZC770_XM012 )# define CONFIG_ZYNQ_SERIAL_UART1 # undef CONFIG_SYS_NO_FLASH -# define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm012#elif defined(CONFIG_ZC770_XM013 )# define CONFIG_ZYNQ_SERIAL_UART0 # define CONFIG_ZYNQ_GEM1 # define CONFIG_ZYNQ_GEM_PHY_ADDR1 7 -# define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm013#else # define CONFIG_ZYNQ_SERIAL_UART0
include/configs/zynq_zed.h +0 -1
@@ -21,7 +21,6 @@#define CONFIG_ZYNQ_USB #define CONFIG_ZYNQ_SDHCI0 #define CONFIG_ZYNQ_BOOT_FREEBSD -#define CONFIG_DEFAULT_DEVICE_TREE zynq-zed#include <configs/zynq-common.h>
Signature · 1 line
1.9.1
PATCH 10/10 kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig
Quoted 2 lines · Masahiro Yamada
This option specifies the default Device Tree used for the run-time configuration of U-Boot.
Same comment here.
PATCH 10/10 kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig
Hi Stephen
2014-09-09 0:04 GMT+09:00 Stephen Warren <[email protected]>:
Quoted 7 lines · Masahiro Yamada
Quoted 3 lines
This option specifies the default Device Tree used for the run-time configuration of U-Boot.
Same comment here.
I will rephrase the help comment in v2.
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH 10/10 kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig
In reply to Masahiro Yamadaconfigs/mx6dlsabreauto_defconfig line 4
Quoted 7 lines · Masahiro Yamada
configs/mx6dlsabreauto_defconfig +1
-0@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/mx6dl.cfg,MX6DL" CONFIG_ARM=y CONFIG_TARGET_MX6QSABREAUTO=y +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabreauto"
It is not correct to use imx6q-sabreauto for a mx6dlsabreauto board.
I have also sent a patch removing dts usage for mx6qsabreauto.
PATCH 10/10 kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig
Hi Fabio,
2014-09-09 1:28 GMT+09:00 Fabio Estevam <[email protected]>:
Quoted 13 lines
configs/mx6dlsabreauto_defconfig line 4
Quoted 7 lines · Masahiro Yamada
configs/mx6dlsabreauto_defconfig +1
-0@@ -1,3 +1,4 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/mx6dl.cfg,MX6DL" CONFIG_ARM=y CONFIG_TARGET_MX6QSABREAUTO=y +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabreauto"It is not correct to use imx6q-sabreauto for a mx6dlsabreauto board.
Quoted 1 line
I have also sent a patch removing dts usage for mx6qsabreauto.
I noticed that this board has CONFIG_DEFAULT_DEVICE_TREE, but no CONFIG_OF_CONTROL.
Just in case, I moved it verbatim so as not to lose the information.
I will remove it in v2.
Thanks for pointing this out.
Signature · 2 lines
Best Regards Masahiro Yamada