poweprc/km82xx: add board specific environment variable

On mgcoge3ne a new environment variable bobcatreset is used.
So this patch adds a possibility to add board specific
environment variables in general and this specific variable
for mgcoge3ne.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
cc: Detlev Zundel <dzu@denx.de>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
This commit is contained in:
Holger Brunck 2011-04-08 02:47:30 +00:00 committed by Wolfgang Denk
parent ba12cd5b06
commit cceaa63bfe
3 changed files with 5 additions and 0 deletions

View File

@ -80,6 +80,7 @@
* Default environment settings
*/
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_KM_BOARD_EXTRA_ENV \
CONFIG_KM_DEF_ENV \
"EEprom_ivm=pca9544a:70:4 \0" \
"unlock=yes\0" \

View File

@ -85,6 +85,8 @@
PSDMR_CL_2)
#define CONFIG_KM_BOARD_EXTRA_ENV ""
/* include further common stuff for all keymile 82xx boards */
#include "km82xx-common.h"

View File

@ -85,6 +85,8 @@
PSDMR_WRC_2C |\
PSDMR_CL_2)
#define CONFIG_KM_BOARD_EXTRA_ENV "bobcatreset=true\0"
/* include further common stuff for all keymile 82xx boards */
#include "km82xx-common.h"