[U-Boot] rockchip: move CONFIG_ENV_SIZE and CONFIG_ENV_OFFSET to Kconfig
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Sun Dec 17 16:04:08 UTC 2017
> These settings are not not user visible via a menuconfig prompt. This is
> necessary to have the possibility to select new default values if
> CONFIG_IS_IN_* is changed (interactively or with oldconfig). Otherwise it
> will always be set to a previous value if used with a prompt.
> As an example if we do a defconfig with CONFIG_IS_IN_MMC and change it to
> CONFIG_IS_IN_SPI_FLASH via menuconfig, ENV_SIZE and ENV_OFFSET will not
> be changed to the correct values as defconfig will already have set them
> to the default values of CONFIG_IS_IN_MMC in .config.
>
> Signed-off-by: Klaus Goger <klaus.goger at theobroma-systems.com>
> ---
>
> board/theobroma-systems/puma_rk3399/Kconfig | 6 ++++++
> env/Kconfig | 19 +++++++++++++++++++
> include/configs/puma_rk3399.h | 8 --------
> include/configs/rockchip-common.h | 6 ------
> 4 files changed, 25 insertions(+), 14 deletions(-)
>
Applied to u-boot-rockchip, thanks!
More information about the U-Boot
mailing list