[U-Boot] [PATCH v3 10/10] kconfig: move CONFIG_DEFAULT_DEVICE_TREE to kconfig

Simon Glass sjg at chromium.org
Thu Sep 25 01:09:35 CEST 2014


Hi Masahiro,


On 22 September 2014 04:59, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> This option specifies the default Device Tree used for the run-time
> configuration of U-Boot.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stephen Warren <swarren at nvidia.com>
> Cc: Minkyu Kang <mk7.kang at samsung.com>
> Cc: Michal Simek <michal.simek at xilinx.com>
> ---
>
> Changes in v3: None
> Changes in v2:
>   - Fix the commit subject
>   - Rephrase the help comment of DEFAULT_DEVICE_TREE
>   - Do not touch mx6qsabreauto board
>     (This will be covered by commit 19a895cbe9430 in u-boot-imx.
>      Fabio has already sent a pull-req.)
>
>  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/odroid_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                              | 7 +++++++
>  include/configs/am335x_evm.h             | 1 -
>  include/configs/arndale.h                | 1 -
>  include/configs/beaver.h                 | 3 ---
>  include/configs/cardhu.h                 | 3 ---
>  include/configs/colibri_t20_iris.h       | 3 ---
>  include/configs/colibri_t30.h            | 1 -
>  include/configs/coreboot.h               | 1 -
>  include/configs/dalmore.h                | 3 ---
>  include/configs/harmony.h                | 3 ---
>  include/configs/jetson-tk1.h             | 3 ---
>  include/configs/medcom-wide.h            | 3 ---
>  include/configs/microblaze-generic.h     | 3 ---
>  include/configs/odroid.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/s5pc210_universal.h      | 2 --
>  include/configs/sandbox.h                | 1 -
>  include/configs/seaboard.h               | 3 ---
>  include/configs/smdk5250.h               | 2 --
>  include/configs/smdk5420.h               | 2 --
>  include/configs/snow.h                   | 2 --
>  include/configs/tec-ng.h                 | 3 ---
>  include/configs/tec.h                    | 3 ---
>  include/configs/trats.h                  | 2 --
>  include/configs/trats2.h                 | 2 --
>  include/configs/trimslice.h              | 3 ---
>  include/configs/venice2.h                | 3 ---
>  include/configs/ventana.h                | 3 ---
>  include/configs/vexpress_aemv8a.h        | 1 -
>  include/configs/whistler.h               | 3 ---
>  include/configs/zynq_microzed.h          | 1 -
>  include/configs/zynq_zc70x.h             | 1 -
>  include/configs/zynq_zc770.h             | 3 ---
>  include/configs/zynq_zed.h               | 1 -
>  76 files changed, 46 insertions(+), 81 deletions(-)
>
> diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
> index af7ceca..e257143 100644
> --- a/configs/am335x_boneblack_vboot_defconfig
> +++ b/configs/am335x_boneblack_vboot_defconfig
> @@ -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"

Do we want to include this for SPL too? At some point we might support
this. But if you want to define it only for U-Boot, that's OK.

Regards,


More information about the U-Boot mailing list