[U-Boot] [PATCH v2 3/9] at91, omap2plus: configs: migrate CONFIG_ENV_ to defconfigs

Heiko Schocher
2019-06-13T03:31:27Z

Hello Markus,

Am 15.05.2019 um 15:15 schrieb Markus Klotzbuecher:
> From: Markus Klotzbuecher <markus.klotzbuecher@kistler.com>
>
> Enable the extended ENV options for AT91 and OMAP2PLUS in order to be
> able to use CONFIG_ENV_UBI_* on these architectures.
>
> As this change also makes the configs ENV_SIZE, ENV_SECT_SIZE,
> ENV_OFFSET visible to AT91 and OMAP2PLUS, migrate users of these to
> KConfig.
>
> This migration was run using an extended moveconfig.py which evaluates
> expressions such as "(512 << 10)". See patch ("moveconfig: expand
> simple expressions").
>
> All modified boards were built with SOURCE_DATE_EPOCH=0 before and
> after the change and successfully confirmed that the identical binary
> is generated (the only exception was igep00x0, which does not define
> CONFIG_ENV_IS_IN_UBI in the original board header. Once that is
> defined, the test passes too).
>
> Signed-off-by: Markus Klotzbuecher <markus.klotzbuecher@kistler.com>
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Eugen Hristev <eugen.hristev@microchip.com>
> Cc: Tom Rini <trini@konsulko.com>
> ---
> Changes for v2: new patch
>
> configs/am335x_guardian_defconfig | 2 ++
> configs/am335x_igep003x_defconfig | 4 ++++
> configs/am335x_pdu001_defconfig | 1 +
> configs/am335x_shc_defconfig | 2 ++
> configs/am335x_shc_ict_defconfig | 2 ++
> configs/am335x_shc_netboot_defconfig | 2 ++
> configs/am335x_shc_sdboot_defconfig | 2 ++
> configs/am335x_sl50_defconfig | 1 +
> configs/am43xx_evm_defconfig | 1 +
> configs/am43xx_evm_qspiboot_defconfig | 3 +++
> configs/am43xx_evm_rtconly_defconfig | 1 +
> configs/am43xx_evm_usbhost_boot_defconfig | 1 +
> configs/am43xx_hs_evm_defconfig | 1 +
> configs/at91rm9200ek_defconfig | 3 +++
> configs/at91rm9200ek_ram_defconfig | 3 +++
> configs/at91sam9260ek_dataflash_cs0_defconfig | 3 +++
> configs/at91sam9260ek_dataflash_cs1_defconfig | 3 +++
> configs/at91sam9261ek_dataflash_cs0_defconfig | 3 +++
> configs/at91sam9261ek_dataflash_cs3_defconfig | 3 +++
> configs/at91sam9263ek_dataflash_cs0_defconfig | 3 +++
> configs/at91sam9263ek_dataflash_defconfig | 3 +++
> configs/at91sam9263ek_norflash_boot_defconfig | 3 +++
> configs/at91sam9263ek_norflash_defconfig | 3 +++
> configs/at91sam9g10ek_dataflash_cs0_defconfig | 3 +++
> configs/at91sam9g10ek_dataflash_cs3_defconfig | 3 +++
> configs/at91sam9g20ek_2mmc_defconfig | 2 ++
> configs/at91sam9g20ek_dataflash_cs0_defconfig | 3 +++
> configs/at91sam9g20ek_dataflash_cs1_defconfig | 3 +++
> configs/at91sam9m10g45ek_mmc_defconfig | 1 +
> configs/at91sam9n12ek_mmc_defconfig | 1 +
> configs/at91sam9n12ek_spiflash_defconfig | 3 +++
> configs/at91sam9rlek_dataflash_defconfig | 3 +++
> configs/at91sam9rlek_mmc_defconfig | 1 +
> configs/at91sam9x5ek_dataflash_defconfig | 3 +++
> configs/at91sam9x5ek_mmc_defconfig | 1 +
> configs/at91sam9x5ek_spiflash_defconfig | 3 +++
> configs/at91sam9xeek_dataflash_cs0_defconfig | 3 +++
> configs/at91sam9xeek_dataflash_cs1_defconfig | 3 +++
> configs/axm_defconfig | 1 +
> configs/brppt1_mmc_defconfig | 2 ++
> configs/brppt1_nand_defconfig | 2 ++
> configs/brppt1_spi_defconfig | 3 +++
> configs/brxre1_defconfig | 2 ++
> configs/chiliboard_defconfig | 2 ++
> configs/cm_t335_defconfig | 2 ++
> configs/cm_t35_defconfig | 1 +
> configs/cm_t43_defconfig | 3 +++
> configs/cm_t54_defconfig | 2 ++
> configs/corvus_defconfig | 1 +
> configs/draco_defconfig | 1 +
> configs/eco5pk_defconfig | 1 +
> configs/etamin_defconfig | 2 ++
> configs/ethernut5_defconfig | 3 +++
> configs/gardena-smart-gateway-at91sam_defconfig | 4 ++++
> configs/gurnard_defconfig | 2 ++
> configs/igep00x0_defconfig | 5 +++++
> configs/mcx_defconfig | 1 +
> configs/meesc_dataflash_defconfig | 3 +++
> configs/meesc_defconfig | 1 +
> configs/mt_ventoux_defconfig | 1 +
> configs/omap3_overo_defconfig | 1 +
> configs/omap4_sdp4430_defconfig | 1 +
> configs/pengwyn_defconfig | 1 +
> configs/picosam9g45_defconfig | 1 +
> configs/pm9261_defconfig | 3 +++
> configs/pm9263_defconfig | 3 +++
> configs/pxm2_defconfig | 1 +
> configs/rastaban_defconfig | 1 +
> configs/rut_defconfig | 1 +
> configs/sama5d27_som1_ek_mmc1_defconfig | 1 +
> configs/sama5d27_som1_ek_mmc_defconfig | 1 +
> configs/sama5d2_icp_mmc_defconfig | 1 +
> configs/sama5d2_ptc_ek_mmc_defconfig | 1 +
> configs/sama5d2_xplained_emmc_defconfig | 1 +
> configs/sama5d2_xplained_mmc_defconfig | 1 +
> configs/sama5d2_xplained_spiflash_defconfig | 3 +++
> configs/sama5d36ek_cmp_mmc_defconfig | 1 +
> configs/sama5d36ek_cmp_spiflash_defconfig | 3 +++
> configs/sama5d3_xplained_mmc_defconfig | 1 +
> configs/sama5d3xek_mmc_defconfig | 1 +
> configs/sama5d3xek_spiflash_defconfig | 3 +++
> configs/sama5d4_xplained_mmc_defconfig | 1 +
> configs/sama5d4_xplained_spiflash_defconfig | 3 +++
> configs/sama5d4ek_mmc_defconfig | 1 +
> configs/sama5d4ek_spiflash_defconfig | 3 +++
> configs/smartweb_defconfig | 1 +
> configs/snapper9260_defconfig | 2 ++
> configs/snapper9g20_defconfig | 2 ++
> configs/taurus_defconfig | 1 +
> configs/thuban_defconfig | 1 +
> configs/ti816x_evm_defconfig | 2 ++
> configs/tricorder_defconfig | 2 ++
> configs/tricorder_flash_defconfig | 1 +
> configs/twister_defconfig | 1 +
> configs/usb_a9263_dataflash_defconfig | 3 +++
> configs/vinco_defconfig | 3 +++
> configs/wb45n_defconfig | 1 +
> configs/wb50n_defconfig | 1 +
> env/Kconfig | 11 +++++++----
> include/configs/am335x_evm.h | 3 ---
> include/configs/am335x_igep003x.h | 7 -------
> include/configs/am335x_sl50.h | 3 ---
> include/configs/am3517_crane.h | 2 --
> include/configs/am3517_evm.h | 2 --
> include/configs/am43xx_evm.h | 5 -----
> include/configs/am57xx_evm.h | 2 --
> include/configs/at91-sama5_common.h | 5 -----
> include/configs/at91rm9200ek.h | 2 +-
> include/configs/baltos.h | 3 ---
> include/configs/bav335x.h | 3 ---
> include/configs/brppt1.h | 5 -----
> include/configs/chiliboard.h | 4 ----
> include/configs/cm_t335.h | 2 --
> include/configs/cm_t35.h | 2 --
> include/configs/cm_t3517.h | 2 --
> include/configs/cm_t43.h | 5 -----
> include/configs/corvus.h | 2 --
> include/configs/devkit8000.h | 6 ------
> include/configs/dra7xx_evm.h | 2 --
> include/configs/ethernut5.h | 2 --
> include/configs/gardena-smart-gateway-at91sam.h | 6 ------
> include/configs/kc1.h | 2 --
> include/configs/mcx.h | 1 -
> include/configs/nokia_rx51.h | 1 -
> include/configs/omap3_beagle.h | 4 ----
> include/configs/omap3_cairo.h | 4 ----
> include/configs/omap3_evm.h | 3 ---
> include/configs/omap3_igep00x0.h | 6 ------
> include/configs/omap3_logic.h | 3 ---
> include/configs/omap3_overo.h | 1 -
> include/configs/omap3_pandora.h | 3 ---
> include/configs/omap3_zoom1.h | 3 ---
> include/configs/omap5_uevm.h | 2 --
> include/configs/pcm051.h | 1 -
> include/configs/pepper.h | 2 --
> include/configs/siemens-am33x-common.h | 2 --
> include/configs/smartweb.h | 2 --
> include/configs/snapper9260.h | 2 --
> include/configs/snapper9g45.h | 2 --
> include/configs/sniper.h | 2 --
> include/configs/tam3517-common.h | 1 -
> include/configs/tao3530.h | 2 --
> include/configs/taurus.h | 2 --
> include/configs/ti814x_evm.h | 1 -
> include/configs/ti_omap4_common.h | 5 -----
> include/configs/tricorder.h | 2 --
> include/configs/usb_a9263.h | 3 ---
> include/configs/wb50n.h | 2 --
> 148 files changed, 202 insertions(+), 142 deletions(-)

Thanks!

Travis buils is fine, pushed to u-boot-ubi.git next

bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de