ARM: imx: soc: Select default TEXT_BASE for i.MX6
Subsystems (3)
PATCH 1/1 ARM: imx: soc: Select default TEXT_BASE for i.MX6
Select default U-Boot and SPL text base for the i.MX6 SoC. The U-Boot and SPL text base is picked as the one used by various i.MX6 boards. Update all the boards.
---
Cc: "Eric Bénard" <[email protected]>
Cc: "Huan 'Kitty' Wang" <[email protected]>
Cc: "Marek Behún" <[email protected]>
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: "Sébastien Szymanski" <[email protected]>
Cc: Adam Ford <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Cc: Andreas Geisreiter <[email protected]>
Cc: Baruch Siach <[email protected]>
Cc: Breno Lima <[email protected]>
Cc: Christoph Niedermaier <[email protected]>
Cc: Emanuele Ghidoli <[email protected]>
Cc: Eric Nelson <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Francesco Dolcini <[email protected]>
Cc: Francesco Montefoschi <[email protected]>
Cc: Frieder Schrempf <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Hiago De Franco <[email protected]>
Cc: Ian Ray <[email protected]>
Cc: Igor Opaniuk <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Jerome Forissier <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Marcel Ziswiler <[email protected]>
Cc: Marcin Niestroj <[email protected]>
Cc: Martyn Welch <[email protected]>
Cc: Matthias Winker <[email protected]>
Cc: Michael Trimarchi <[email protected]>
Cc: Niel Fourie <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Parth Pancholi <[email protected]>
Cc: Parthiban Nallathambi <[email protected]>
Cc: Patrick Barsanti <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Philip Oberfichtner <[email protected]>
Cc: Quentin Schulz <[email protected]>
Cc: Raffaele RECALCATI <[email protected]>
Cc: Richard Hu <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Silvio Fricke <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Simone CIANNI <[email protected]>
Cc: Soeren Moch <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Troy Kisky <[email protected]>
Cc: Venkatesh Yadav Abbarapu <[email protected]>
Cc: Wolfgang Wallner <[email protected]>
Cc: [email protected]
--- arch/arm/mach-imx/mx6/Kconfig | 7 +++++++ configs/apalis_imx6_defconfig | 2 -- configs/aristainetos2c_defconfig | 1 - configs/aristainetos2ccslb_defconfig | 1 - configs/brppt2_defconfig | 1 - configs/cm_fx6_defconfig | 2 -- configs/colibri_imx6_defconfig | 2 -- configs/dh_imx6_defconfig | 2 -- configs/display5_defconfig | 2 -- configs/display5_factory_defconfig | 2 -- configs/ge_b1x5v2_defconfig | 2 -- configs/ge_bx50v3_defconfig | 1 - configs/gwventana_emmc_defconfig | 2 -- configs/gwventana_nand_defconfig | 2 -- configs/imx6dl_icore_nand_defconfig | 2 -- configs/imx6dl_mamoj_defconfig | 2 -- configs/imx6dl_sielaff_defconfig | 2 -- configs/imx6q_bosch_acc_defconfig | 1 - configs/imx6q_icore_nand_defconfig | 2 -- configs/imx6q_logic_defconfig | 2 -- configs/imx6qdl_icore_mipi_defconfig | 2 -- configs/imx6qdl_icore_mmc_defconfig | 2 -- configs/imx6qdl_icore_nand_defconfig | 2 -- configs/imx6qdl_icore_rqs_defconfig | 2 -- configs/imx6ul_geam_mmc_defconfig | 1 - configs/imx6ul_geam_nand_defconfig | 1 - configs/imx6ul_isiot_emmc_defconfig | 1 - configs/imx6ul_isiot_nand_defconfig | 1 - configs/imx6ulz_smm_m2_defconfig | 1 - configs/kontron-sl-mx6ul_defconfig | 1 - configs/kp_imx6q_tpc_defconfig | 2 -- configs/liteboard_defconfig | 1 - configs/lxr2_defconfig | 2 -- configs/marsboard_defconfig | 1 - configs/mccmon6_nor_defconfig | 2 -- configs/mccmon6_sd_defconfig | 2 -- configs/mx6cuboxi_defconfig | 2 -- configs/mx6memcal_defconfig | 2 -- configs/mx6qsabrelite_defconfig | 1 - configs/mx6sabreauto_defconfig | 2 -- configs/mx6sabresd_defconfig | 2 -- configs/mx6ul_14x14_evk_defconfig | 1 - configs/mx6ul_9x9_evk_defconfig | 1 - configs/nitrogen6dl2g_defconfig | 1 - configs/nitrogen6dl_defconfig | 1 - configs/nitrogen6q2g_defconfig | 1 - configs/nitrogen6q_defconfig | 1 - configs/nitrogen6s1g_defconfig | 1 - configs/nitrogen6s_defconfig | 1 - configs/novena_defconfig | 2 -- configs/opos6uldev_defconfig | 1 - configs/pcm058_defconfig | 2 -- configs/pico-hobbit-imx6ul_defconfig | 1 - configs/pico-imx6_defconfig | 2 -- configs/pico-imx6ul_defconfig | 1 - configs/pico-pi-imx6ul_defconfig | 1 - configs/riotboard_defconfig | 2 -- configs/tbs2910_defconfig | 1 - configs/udoo_defconfig | 2 -- configs/udoo_neo_defconfig | 1 - configs/variscite_dart6ul_defconfig | 1 - configs/vining_2000_defconfig | 1 - configs/wandboard_defconfig | 2 -- 63 files changed, 7 insertions(+), 94 deletions(-)
arch/arm/mach-imx/mx6/Kconfig +7 -0
@@ -15,6 +15,13 @@ config MX6 select GPT_TIMER if !MX6UL && !MX6ULL imply CMD_FUSE +config TEXT_BASE + default 0x17800000 + +config SPL_TEXT_BASE + depends on SPL + default 0x00908000 + choice prompt "i.MX6 SoC select"
configs/apalis_imx6_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x2000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -16,7 +15,6 @@ CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_SYS_I2C_MXC_I2C3=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-apalis-eval" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_OF_LIBFDT_OVERLAY=y CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y
configs/aristainetos2c_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_F_LEN=0x13000 CONFIG_NR_DRAM_BANKS=1 CONFIG_SF_DEFAULT_SPEED=20000000
configs/aristainetos2ccslb_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_F_LEN=0x13000 CONFIG_NR_DRAM_BANKS=1 CONFIG_SF_DEFAULT_SPEED=20000000
configs/brppt2_defconfig +0 -1
@@ -2,7 +2,6 @@ CONFIG_ARM=y # CONFIG_SPL_SYS_THUMB_BUILD is not set CONFIG_SYS_L2CACHE_OFF=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x1000 CONFIG_SPL_GPIO=y
configs/cm_fx6_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -13,7 +12,6 @@ CONFIG_ENV_SECT_SIZE=0x10000 CONFIG_MX6QDL=y CONFIG_TARGET_CM_FX6=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-cm-fx6" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/colibri_imx6_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x2000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -16,7 +15,6 @@ CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_SYS_I2C_MXC_I2C3=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6dl-colibri-eval-v3" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_OF_LIBFDT_OVERLAY=y CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y
configs/dh_imx6_defconfig +0 -2
@@ -4,8 +4,6 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y CONFIG_MX6QDL=y CONFIG_TARGET_DHCOMIMX6=y -CONFIG_TEXT_BASE=0x17800000 -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SYS_L2_PL310=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-dhcom-pdk2" CONFIG_MX6_DDRCAL=y
configs/display5_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_SYS_MALLOC_F_LEN=0x1000 CONFIG_SPL_GPIO=y
@@ -18,7 +17,6 @@ CONFIG_SYS_I2C_MXC_I2C1=y CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_SYS_I2C_MXC_I2C3=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-display5" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/display5_factory_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_SYS_MALLOC_F_LEN=0x1000 CONFIG_SPL_GPIO=y
@@ -18,7 +17,6 @@ CONFIG_SYS_I2C_MXC_I2C1=y CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_SYS_I2C_MXC_I2C3=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-display5" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/ge_b1x5v2_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_SPL_GPIO=y
@@ -16,7 +15,6 @@ CONFIG_MX6QDL=y CONFIG_TARGET_GE_B1X5V2=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6dl-b1x5v2" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SERIAL=y CONFIG_BOOTCOUNT_BOOTLIMIT=10 CONFIG_WATCHDOG_TIMEOUT_MSECS=30000
configs/ge_bx50v3_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1
configs/gwventana_emmc_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -15,7 +14,6 @@ CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_SYS_I2C_MXC_I2C3=y CONFIG_CMD_EECONFIG=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-gw54xx" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/gwventana_nand_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -15,7 +14,6 @@ CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_SYS_I2C_MXC_I2C3=y CONFIG_CMD_EECONFIG=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-gw54xx" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/imx6dl_icore_nand_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -11,7 +10,6 @@ CONFIG_ENV_OFFSET=0x400000 CONFIG_MX6QDL=y CONFIG_TARGET_MX6Q_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6dl-icore" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SERIAL=y CONFIG_SPL=y # CONFIG_CMD_BMODE is not set
configs/imx6dl_mamoj_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x2300000 CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x20000
@@ -8,7 +7,6 @@ CONFIG_ENV_OFFSET=0x100000 CONFIG_MX6QDL=y CONFIG_TARGET_MX6DL_MAMOJ=y CONFIG_DEFAULT_DEVICE_TREE="imx6dl-mamoj" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_IMX_HAB=y # CONFIG_CMD_BMODE is not set
configs/imx6dl_sielaff_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x4000000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_SPL_GPIO=y
@@ -16,7 +15,6 @@ CONFIG_MX6S=y CONFIG_TARGET_MX6S_SIELAFF=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6dl-sielaff" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y CONFIG_SF_DEFAULT_BUS=1
configs/imx6q_bosch_acc_defconfig +0 -1
@@ -13,7 +13,6 @@ CONFIG_MX6QDL=y CONFIG_MX6_DDRCAL=y CONFIG_TARGET_MX6Q_ACC=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-bosch-acc" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/imx6q_icore_nand_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -11,7 +10,6 @@ CONFIG_ENV_OFFSET=0x400000 CONFIG_MX6QDL=y CONFIG_TARGET_MX6Q_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SERIAL=y CONFIG_SPL=y # CONFIG_CMD_BMODE is not set
configs/imx6q_logic_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -12,7 +11,6 @@ CONFIG_MX6Q=y CONFIG_MX6_OCRAM_256KB=y CONFIG_TARGET_MX6LOGICPD=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-logicpd" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/imx6qdl_icore_mipi_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -11,7 +10,6 @@ CONFIG_ENV_OFFSET=0x100000 CONFIG_MX6QDL=y CONFIG_TARGET_MX6Q_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore-mipi" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/imx6qdl_icore_mmc_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -11,7 +10,6 @@ CONFIG_ENV_OFFSET=0x100000 CONFIG_MX6QDL=y CONFIG_TARGET_MX6Q_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/imx6qdl_icore_nand_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -11,7 +10,6 @@ CONFIG_ENV_OFFSET=0x400000 CONFIG_MX6QDL=y CONFIG_TARGET_MX6Q_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SERIAL=y CONFIG_SPL=y # CONFIG_CMD_BMODE is not set
configs/imx6qdl_icore_rqs_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -11,7 +10,6 @@ CONFIG_ENV_OFFSET=0x100000 CONFIG_MX6QDL=y CONFIG_TARGET_MX6Q_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore-rqs" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/imx6ul_geam_mmc_defconfig +0 -1
@@ -11,7 +11,6 @@ CONFIG_ENV_OFFSET=0x100000 CONFIG_MX6UL=y CONFIG_TARGET_MX6UL_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-geam" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/imx6ul_geam_nand_defconfig +0 -1
@@ -11,7 +11,6 @@ CONFIG_ENV_OFFSET=0x400000 CONFIG_MX6UL=y CONFIG_TARGET_MX6UL_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-geam" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SERIAL=y CONFIG_SPL=y # CONFIG_CMD_BMODE is not set
configs/imx6ul_isiot_emmc_defconfig +0 -1
@@ -11,7 +11,6 @@ CONFIG_ENV_OFFSET=0x100000 CONFIG_MX6UL=y CONFIG_TARGET_MX6UL_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-isiot-emmc" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/imx6ul_isiot_nand_defconfig +0 -1
@@ -11,7 +11,6 @@ CONFIG_ENV_OFFSET=0x400000 CONFIG_MX6UL=y CONFIG_TARGET_MX6UL_ENGICAM=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-isiot-nand" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SERIAL=y CONFIG_SPL=y # CONFIG_CMD_BMODE is not set
configs/imx6ulz_smm_m2_defconfig +0 -1
@@ -12,7 +12,6 @@ CONFIG_ENV_OFFSET=0x400000 CONFIG_MX6ULL=y CONFIG_TARGET_MX6ULZ_SMM_M2=y CONFIG_DEFAULT_DEVICE_TREE="nxp/imx/imx6ulz-bsh-smm-m2" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SERIAL=y CONFIG_SPL_BSS_START_ADDR=0x84100000 CONFIG_SPL=y
configs/kontron-sl-mx6ul_defconfig +0 -1
@@ -14,7 +14,6 @@ CONFIG_MX6UL=y CONFIG_TARGET_KONTRON_MX6UL=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-kontron-bl" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y CONFIG_BOOTCOUNT_BOOTLIMIT=3
configs/kp_imx6q_tpc_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_F_LEN=0x2200 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -12,7 +11,6 @@ CONFIG_MX6QDL=y CONFIG_MX6_DDRCAL=y CONFIG_TARGET_KP_IMX6Q_TPC=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-kp" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/liteboard_defconfig +0 -1
@@ -12,7 +12,6 @@ CONFIG_MX6UL=y CONFIG_TARGET_LITEBOARD=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-liteboard" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/lxr2_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_SPL_GPIO=y
@@ -15,7 +14,6 @@ CONFIG_MX6Q=y CONFIG_TARGET_LXR2=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-lxr" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/marsboard_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_NR_DRAM_BANKS=1 CONFIG_SF_DEFAULT_SPEED=20000000
configs/mccmon6_nor_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -13,7 +12,6 @@ CONFIG_IMX_CONFIG="board/liebherr/mccmon6/mon6_imximage_nor.cfg" CONFIG_MX6QDL=y CONFIG_TARGET_MCCMON6=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-mccmon6" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SERIAL=y CONFIG_SPL=y # CONFIG_CMD_BMODE is not set
configs/mccmon6_sd_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -13,7 +12,6 @@ CONFIG_IMX_CONFIG="board/liebherr/mccmon6/mon6_imximage_sd.cfg" CONFIG_MX6QDL=y CONFIG_TARGET_MCCMON6=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-mccmon6" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/mx6cuboxi_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -12,7 +11,6 @@ CONFIG_MX6QDL=y CONFIG_TARGET_MX6CUBOXI=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6dl-hummingboard2-emmc-som-v15" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/mx6memcal_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x4000000 CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y
@@ -9,7 +8,6 @@ CONFIG_ENV_SIZE=0x2000 CONFIG_MX6QDL=y CONFIG_MX6_DDRCAL=y CONFIG_TARGET_MX6MEMCAL=y -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_SERIAL=y CONFIG_SPL=y CONFIG_SYS_MEMTEST_START=0x10000000
configs/mx6qsabrelite_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1
configs/mx6sabreauto_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_SPL_GPIO=y
@@ -14,7 +13,6 @@ CONFIG_MX6QDL=y CONFIG_TARGET_MX6SABREAUTO=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabreauto" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/mx6sabresd_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_SPL_GPIO=y
@@ -14,7 +13,6 @@ CONFIG_MX6QDL=y CONFIG_TARGET_MX6SABRESD=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/mx6ul_14x14_evk_defconfig +0 -1
@@ -15,7 +15,6 @@ CONFIG_SYS_I2C_MXC_I2C1=y CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-14x14-evk" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/mx6ul_9x9_evk_defconfig +0 -1
@@ -15,7 +15,6 @@ CONFIG_SYS_I2C_MXC_I2C1=y CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-9x9-evk" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/nitrogen6dl2g_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1
configs/nitrogen6dl_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1
configs/nitrogen6q2g_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1
configs/nitrogen6q_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1
configs/nitrogen6s1g_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1
configs/nitrogen6s_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1
configs/novena_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x4000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -15,7 +14,6 @@ CONFIG_SYS_I2C_MXC_I2C1=y CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_SYS_I2C_MXC_I2C3=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-novena" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/opos6uldev_defconfig +0 -1
@@ -11,7 +11,6 @@ CONFIG_ENV_OFFSET=0x100000 CONFIG_MX6UL=y CONFIG_TARGET_OPOS6ULDEV=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-opos6uldev" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_OF_LIBFDT_OVERLAY=y CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y
configs/pcm058_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x800000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -16,7 +15,6 @@ CONFIG_TARGET_PCM058=y CONFIG_DM_GPIO=y CONFIG_SPL_DM_SPI=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-phytec-mira-rdk-nand" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/pico-hobbit-imx6ul_defconfig +0 -1
@@ -12,7 +12,6 @@ CONFIG_MX6UL=y CONFIG_TARGET_PICO_IMX6UL=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-pico-hobbit" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/pico-imx6_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x2300000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -12,7 +11,6 @@ CONFIG_MX6QDL=y CONFIG_TARGET_PICO_IMX6=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6dl-pico" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/pico-imx6ul_defconfig +0 -1
@@ -12,7 +12,6 @@ CONFIG_MX6UL=y CONFIG_TARGET_PICO_IMX6UL=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-pico-hobbit" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/pico-pi-imx6ul_defconfig +0 -1
@@ -12,7 +12,6 @@ CONFIG_MX6UL=y CONFIG_TARGET_PICO_IMX6UL=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-pico-pi" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/riotboard_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -14,7 +13,6 @@ CONFIG_MX6S=y CONFIG_TARGET_EMBESTMX6BOARDS=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6dl-riotboard" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/tbs2910_defconfig +0 -1
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x8000000 CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x2000
configs/udoo_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0x0200000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -12,7 +11,6 @@ CONFIG_MX6QDL=y CONFIG_TARGET_UDOO=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-udoo" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/udoo_neo_defconfig +0 -1
@@ -12,7 +12,6 @@ CONFIG_MX6SX=y CONFIG_TARGET_UDOO_NEO=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="nxp/imx/imx6sx-udoo-neo-basic" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/variscite_dart6ul_defconfig +0 -1
@@ -10,7 +10,6 @@ CONFIG_ENV_SIZE=0x2000 CONFIG_MX6ULL=y CONFIG_TARGET_DART_6UL=y CONFIG_DEFAULT_DEVICE_TREE="imx6ull-dart-6ul" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/vining_2000_defconfig +0 -1
@@ -16,7 +16,6 @@ CONFIG_SYS_I2C_MXC_I2C1=y CONFIG_SYS_I2C_MXC_I2C3=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6sx-softing-vining-2000" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
configs/wandboard_defconfig +0 -2
@@ -1,6 +1,5 @@ CONFIG_ARM=y CONFIG_ARCH_MX6=y -CONFIG_TEXT_BASE=0x17800000 CONFIG_SYS_MALLOC_LEN=0xa00000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -15,7 +14,6 @@ CONFIG_SYS_I2C_MXC_I2C2=y CONFIG_SYS_I2C_MXC_I2C3=y CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6dl-wandboard-revd1" -CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SYS_MONITOR_LEN=409600 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y
Signature · 1 line
2.45.2
Quoted 5 lines · Marek Vasut
Select default U-Boot and SPL text base for the i.MX6 SoC. The U-Boot and SPL text base is picked as the one used by various i.MX6 boards. Update all the boards.
Signed-off-by Marek Vasut <[email protected]>
[snip]
Quoted 5 lines
arch/arm/mach-imx/mx6/Kconfig +0
-0
arch/arm/mach-imx/mx6/Kconfig config MX6 · line 23
Quoted 9 lines
arch/arm/mach-imx/mx6/Kconfig +6
-0@@ -15,6 +15,13 @@ config MX6 select GPT_TIMER if !MX6UL && !MX6ULL imply CMD_FUSE +config TEXT_BASE + default 0x17800000 + +config SPL_TEXT_BASE + depends on SPL + default 0x00908000
Please do these in Kconfig and common/spl/Kconfig with the other SoC-wide default values, thanks.
Signature · 1 line
Tom
Quoted 16 lines · Tom Rini
Quoted 5 lines · Marek Vasut
Select default U-Boot and SPL text base for the i.MX6 SoC. The U-Boot and SPL text base is picked as the one used by various i.MX6 boards. Update all the boards.
Signed-off-by Marek Vasut <[email protected]>[snip]
Quoted 8 lines
arch/arm/mach-imx/mx6/Kconfig +0
-0@@ -15,6 +15,13 @@ config MX6 select GPT_TIMER if !MX6UL && !MX6ULL imply CMD_FUSE
Quoted 9 lines
arch/arm/mach-imx/mx6/Kconfig config MX6 · line 23
Quoted 6 lines
arch/arm/mach-imx/mx6/Kconfig +6
-0+config TEXT_BASE + default 0x17800000 + +config SPL_TEXT_BASE + depends on SPL + default 0x00908000Please do these in
Kconfigand common/spl/Kconfig with the other SoC-wide default values, thanks.
There are many examples which do it in arch/$ARCH/$SOC , imx7 does it already, so ... why Kconfig instead ?
$ git grep config.TEXT_BASE Kconfig:config TEXT_BASE arch/arm/mach-apple/Kconfig:config TEXT_BASE arch/arm/mach-aspeed/Kconfig:config TEXT_BASE arch/arm/mach-imx/mx7/Kconfig:config TEXT_BASE arch/arm/mach-ipq40xx/Kconfig:config TEXT_BASE arch/arm/mach-npcm/Kconfig:config TEXT_BASE arch/arm/mach-owl/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rk3308/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rk3568/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rk3588/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rv1126/Kconfig:config TEXT_BASE arch/arm/mach-socfpga/Kconfig:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.13x:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.15x:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.25x:config TEXT_BASE
(CC list clipped, sorry if someone got dropped)
Quoted 37 lines · Marek Vasut
Quoted 8 lines · Tom Rini
Quoted 5 lines · Marek Vasut
Select default U-Boot and SPL text base for the i.MX6 SoC. The U-Boot and SPL text base is picked as the one used by various i.MX6 boards. Update all the boards.
Signed-off-by Marek Vasut <[email protected]>[snip]
Quoted 16 lines
arch/arm/mach-imx/mx6/Kconfig config MX6 · line 22
Quoted 13 lines
arch/arm/mach-imx/mx6/Kconfig +6
-0@@ -15,6 +15,13 @@ config MX6 select GPT_TIMER if !MX6UL && !MX6ULL imply CMD_FUSE +config TEXT_BASE + default 0x17800000 + +config SPL_TEXT_BASE + depends on SPL + default 0x00908000Please do these in
Kconfigand common/spl/Kconfig with the other SoC-wide default values, thanks.There are many examples which do it in
arch/$ARCH/$SOC, imx7 does it already, so ... whyKconfiginstead ?$ git grep config.TEXT_BASE Kconfig:config TEXT_BASE arch/arm/mach-apple/Kconfig:config TEXT_BASE arch/arm/mach-aspeed/Kconfig:config TEXT_BASE arch/arm/mach-imx/mx7/Kconfig:config TEXT_BASE arch/arm/mach-ipq40xx/Kconfig:config TEXT_BASE arch/arm/mach-npcm/Kconfig:config TEXT_BASE arch/arm/mach-owl/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/Kconfig:config TEXT_BASE
Quoted 8 lines
arch/arm/mach-rockchip/rk3308/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rk3568/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rk3588/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rv1126/Kconfig:config TEXT_BASE arch/arm/mach-socfpga/Kconfig:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.13x:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.15x:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.25x:config TEXT_BASE
There are many bad examples. In general (and excluding shoving stuff under board/.../Kconfig) I prefer those values to be in the top-level Kconfig that asks them rather than per-arch so that it's (a) hopefully clear that yes, SoCs can and should add a default when it's known and
(b) because perhaps this will lead to someone thinking on the problem of how ugly it can be and what may be a better solution. Kconfig is certainly better than CML1 was/is, and better than our ad-hoc just define stuff in board.h files, but it's not perfect. OTOH, if someone wants to break down the options we've put (I've told people to put) in the top-level Kconfig and instead demonstrate and document a reasonable places to put them, OK.
And if you really want to say that this should just match mx7 for today and move on for now, alright.
Signature · 1 line
Tom
Quoted 59 lines · Tom Rini
Quoted 37 lines · Marek Vasut
Quoted 8 lines · Tom Rini
Quoted 5 lines · Marek Vasut
Select default U-Boot and SPL text base for the i.MX6 SoC. The U-Boot and SPL text base is picked as the one used by various i.MX6 boards. Update all the boards.
Signed-off-by Marek Vasut <[email protected]>[snip]
Quoted 16 lines
arch/arm/mach-imx/mx6/Kconfig config MX6 · line 22
Quoted 13 lines
arch/arm/mach-imx/mx6/Kconfig +6
-0@@ -15,6 +15,13 @@ config MX6 select GPT_TIMER if !MX6UL && !MX6ULL imply CMD_FUSE +config TEXT_BASE + default 0x17800000 + +config SPL_TEXT_BASE + depends on SPL + default 0x00908000Please do these in
Kconfigand common/spl/Kconfig with the other SoC-wide default values, thanks.There are many examples which do it in
arch/$ARCH/$SOC, imx7 does it already, so ... whyKconfiginstead ?$ git grep config.TEXT_BASE Kconfig:config TEXT_BASE arch/arm/mach-apple/Kconfig:config TEXT_BASE arch/arm/mach-aspeed/Kconfig:config TEXT_BASE arch/arm/mach-imx/mx7/Kconfig:config TEXT_BASE arch/arm/mach-ipq40xx/Kconfig:config TEXT_BASE arch/arm/mach-npcm/Kconfig:config TEXT_BASE arch/arm/mach-owl/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/Kconfig:config TEXT_BASEQuoted 8 lines
arch/arm/mach-rockchip/rk3308/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rk3568/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rk3588/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rv1126/Kconfig:config TEXT_BASE arch/arm/mach-socfpga/Kconfig:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.13x:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.15x:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.25x:config TEXT_BASEThere are many bad examples. In general (and excluding shoving stuff under board/.../Kconfig) I prefer those values to be in the top-level
Kconfigthat asks them rather than per-arch so that it's (a) hopefully clear that yes, SoCs can and should add a default when it's known and
(b) because perhaps this will lead to someone thinking on the problem of how ugly it can be and what may be a better solution.Kconfigis certainly better than CML1 was/is, and better than our ad-hoc just define stuff inboard.hfiles, but it's not perfect. OTOH, if someone wants to break down the options we've put (I've told people to put) in the top-levelKconfigand instead demonstrate and document a reasonable places to put them, OK.
Quoted 2 lines
And if you really want to say that this should just match mx7 for today and move on for now, alright.
I am happy to do it either way, but we should figure out the best practice ... which I was under the impression was to put architecture (or soc) specific default values into arch/ , while the Kconfig symbol itself should be in matching Kconfig somewhere else in the tree. Did this change recently ?
Quoted 60 lines · Marek Vasut
Quoted 59 lines · Tom Rini
Quoted 37 lines · Marek Vasut
Quoted 8 lines · Tom Rini
Quoted 5 lines · Marek Vasut
Select default U-Boot and SPL text base for the i.MX6 SoC. The U-Boot and SPL text base is picked as the one used by various i.MX6 boards. Update all the boards.
Signed-off-by Marek Vasut <[email protected]>[snip]
Quoted 16 lines
arch/arm/mach-imx/mx6/Kconfig config MX6 · line 22
Quoted 13 lines
arch/arm/mach-imx/mx6/Kconfig +6
-0@@ -15,6 +15,13 @@ config MX6 select GPT_TIMER if !MX6UL && !MX6ULL imply CMD_FUSE +config TEXT_BASE + default 0x17800000 + +config SPL_TEXT_BASE + depends on SPL + default 0x00908000Please do these in
Kconfigand common/spl/Kconfig with the other SoC-wide default values, thanks.There are many examples which do it in
arch/$ARCH/$SOC, imx7 does it already, so ... whyKconfiginstead ?$ git grep config.TEXT_BASE Kconfig:config TEXT_BASE arch/arm/mach-apple/Kconfig:config TEXT_BASE arch/arm/mach-aspeed/Kconfig:config TEXT_BASE arch/arm/mach-imx/mx7/Kconfig:config TEXT_BASE arch/arm/mach-ipq40xx/Kconfig:config TEXT_BASE arch/arm/mach-npcm/Kconfig:config TEXT_BASE arch/arm/mach-owl/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/Kconfig:config TEXT_BASEQuoted 8 lines
arch/arm/mach-rockchip/rk3308/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rk3568/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rk3588/Kconfig:config TEXT_BASE arch/arm/mach-rockchip/rv1126/Kconfig:config TEXT_BASE arch/arm/mach-socfpga/Kconfig:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.13x:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.15x:config TEXT_BASE arch/arm/mach-stm32mp/Kconfig.25x:config TEXT_BASEThere are many bad examples. In general (and excluding shoving stuff under board/.../Kconfig) I prefer those values to be in the top-level
Kconfigthat asks them rather than per-arch so that it's (a) hopefully clear that yes, SoCs can and should add a default when it's known and
(b) because perhaps this will lead to someone thinking on the problem of how ugly it can be and what may be a better solution.Kconfigis certainly better than CML1 was/is, and better than our ad-hoc just define stuff inboard.hfiles, but it's not perfect. OTOH, if someone wants to break down the options we've put (I've told people to put) in the top-levelKconfigand instead demonstrate and document a reasonable places to put them, OK.
Quoted 7 lines
Quoted 2 lines
And if you really want to say that this should just match mx7 for today and move on for now, alright.
I am happy to do it either way, but we should figure out the best practice ... which I was under the impression was to put architecture (or soc) specific default values into
arch/, while theKconfigsymbol itself should be in matchingKconfigsomewhere else in the tree. Did this change recently ?
As I was trying to say, I think the best practice is in the common Kconfig file and I've been saying that for years. But I also don't catch when people do something else, and that frankly makes it clear that while I think it's best, it's not obviously correct.
Signature · 1 line
Tom