]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: enable accessing the environment in an EXT4 partition
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Wed, 10 Jan 2018 10:33:48 +0000 (11:33 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 15 Jan 2018 21:28:57 +0000 (16:28 -0500)
commit1087a7942c055db6fbb6ef6028a77599989561fc
treeb2cab64992a2d5fe1fe0ce3a21aeadd1fce74d74
parentf2006808f099465707c8a815dd1d0ec093f3449b
env: enable accessing the environment in an EXT4 partition

For example to store the environment in a file named "/uboot.env" in MMC
"0", where partition "1" contains the EXT4 filesystem, the following
configs should be added to the board's default config:

  CONFIG_ENV_IS_IN_EXT4=y
  CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1"
  CONFIG_ENV_EXT4_FILE="/uboot.env"
  CONFIG_ENV_EXT4_INTERFACE="mmc"

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
[trini: Fix some line over 80 chars issues]
Signed-off-by: Tom Rini <trini@konsulko.com>
env/Kconfig
env/env.c
env/ext4.c