]> Git Repo - J-u-boot.git/commit - env/mmc.c
env_mmc: configure environment offsets via device tree
authorPhilipp Tomsich <[email protected]>
Mon, 15 May 2017 22:16:31 +0000 (00:16 +0200)
committerJaehoon Chung <[email protected]>
Mon, 29 May 2017 08:28:52 +0000 (17:28 +0900)
commitf8b8a554633f61c3a3e8dde3236917372edc977f
treee9f94875e99da37ec111d2f2f3d88d7033cc22f0
parent6183b29559107650cb38f905e069a93ff9da1d7d
env_mmc: configure environment offsets via device tree

This introduces the ability to override the environment offets from the
device tree by setting the following nodes in '/config':
'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET
'u-boot,mmc-env-offset-redundant'
- overrides CONFIG_ENV_OFFSET_REDUND

To keep with the previous logic, the CONFIG_* defines still need to
be available and the statically defined values become the defaults,
when the corresponding properties are not set in the device-tree.

Signed-off-by: Philipp Tomsich <[email protected]>
Acked-by: Simon Glass <[email protected]>
common/env_mmc.c
This page took 0.031463 seconds and 4 git commands to generate.