summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGuillaume GARDET <[email protected]>2015-08-25 15:10:26 +0200
committerTom Rini <[email protected]>2015-10-24 13:50:30 -0400
commitbff78567da51eee433e0e76a87edc5f0a03a0d8d (patch)
tree385ff6fb8a92cba29ef5fc39bf4993706b86fd53 /include
parent13cfbe51357bf3275b14046e0031ea2b7fdaf8ce (diff)
ARM: rpi: Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support
Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support and enable it to set 'board_rev' and 'board_name' envs. 'board_rev' can be used in scripts to determine what board we are running on and 'board_name' for pretty printing. Signed-off-by: Guillaume GARDET <[email protected]> Cc: Stephen Warren <[email protected]> Acked-by: Stephen Warren <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/rpi-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h
index 06836cd5d8e..58fe1f7a435 100644
--- a/include/configs/rpi-common.h
+++ b/include/configs/rpi-common.h
@@ -133,6 +133,7 @@
#include <config_distro_defaults.h>
/* Environment */
+#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
#define ENV_DEVICE_SETTINGS \
"stdin=serial,lcd\0" \
"stdout=serial,lcd\0" \