[PATCH 0/2] sunxi: CONFIG_SYS_MMC_ENV_DEV undeclared
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sun Mar 31 04:37:15 CEST 2024
When enabling CONFIG_ENV_IS_IN_EXT4 the environment might be stored on
an mmc device similar to the CONFIG_ENV_IS_IN_FAT case. Enable
CONFIG_SYS_MMC_ENV_DEV in this case.
bananapi_m64_defconfig with CONFIG_ENV_IS_NOWHERE results in:
board/sunxi/board.c: In function 'mmc_get_env_dev':
board/sunxi/board.c:535:24: error:
'CONFIG_SYS_MMC_ENV_DEV' undeclared (first use in this function)
535 | return CONFIG_SYS_MMC_ENV_DEV;
| ^~~~~~~~~~~~~~~~~~~~~~
Check if CONFIG_SYS_MMC_ENV_DEV is defined.
Heinrich Schuchardt (2):
env: ENV_IS_IN_EXT4 should enable SYS_MMC_ENV_DEV
sunxi: CONFIG_SYS_MMC_ENV_DEV undeclared
board/sunxi/board.c | 2 +-
env/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.43.0
More information about the U-Boot
mailing list