]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: mmc: statically set the environment partition name
authorEmmanuel Di Fede <emmanuel.difede@cysec.com>
Wed, 14 Jun 2023 10:05:28 +0000 (12:05 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 19:21:07 +0000 (15:21 -0400)
commit9e70676cf5281f0e37736ea42b59ef2e02907051
tree2cf15417f1656c0bd2d48c42074b914ec5d6f4d4
parentb1d774bb8749151293a700173c79b9501ac72a2c
env: mmc: statically set the environment partition name

The new opt-out setting, CONFIG_ENV_MMC_PARTITION, statically sets
the MMC environment partition name. Prior to this patch, the only way
to declare this partition name was by creating a
'u-boot,mmc-env-partition' parameter in the device-tree's /config node.

This setting provides additional flexibility, particularly in cases
where accessing the device-tree is not straightforward (e.g. QEMU).

If undeclared, the device-tree's setting will be used.

Signed-off-by: Emmanuel Di Fede <emmanuel.difede@cysec.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
doc/device-tree-bindings/config.txt
env/Kconfig
env/mmc.c