]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: CONFIG_SYS_MMC_ENV_DEV undeclared
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 31 Mar 2024 02:37:17 +0000 (04:37 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 14 Jul 2024 07:56:24 +0000 (09:56 +0200)
commitbbac4aeb1236f23858e540382117ea228c4616dd
tree3f3a6c4abbfad65d57feee0b1751ffa6a7758c76
parent5913c29fcbce9575fd6f6c1a45a019c733aca539
sunxi: CONFIG_SYS_MMC_ENV_DEV undeclared

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.

Fixes: 1011ebc72bda ("sunxi: Select environment MMC based on boot device")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
board/sunxi/board.c