ARM: rpi: Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support
authorGuillaume GARDET <guillaume.gardet@free.fr>
Tue, 25 Aug 2015 13:10:26 +0000 (15:10 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 24 Oct 2015 17:50:30 +0000 (13:50 -0400)
commitbff78567da51eee433e0e76a87edc5f0a03a0d8d
tree385ff6fb8a92cba29ef5fc39bf4993706b86fd53
parent13cfbe51357bf3275b14046e0031ea2b7fdaf8ce
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 <guillaume.gardet@free.fr>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
board/raspberrypi/rpi/rpi.c
include/configs/rpi-common.h