From: Holger Brunck Date: Fri, 8 Apr 2011 02:47:30 +0000 (+0000) Subject: poweprc/km82xx: add board specific environment variable X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=cceaa63bfebddf95a8019098c7338669fcd290b0;p=u-boot.git 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 Acked-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel cc: Valentin Longchamp Signed-off-by: Valentin Longchamp --- diff --git a/include/configs/km82xx-common.h b/include/configs/km82xx-common.h index 894e01540d..446c1d0b8b 100644 --- a/include/configs/km82xx-common.h +++ b/include/configs/km82xx-common.h @@ -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" \ diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h index 93a6f4a83d..07458554ef 100644 --- a/include/configs/mgcoge.h +++ b/include/configs/mgcoge.h @@ -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" diff --git a/include/configs/mgcoge3ne.h b/include/configs/mgcoge3ne.h index f080619b19..7ed213ee51 100644 --- a/include/configs/mgcoge3ne.h +++ b/include/configs/mgcoge3ne.h @@ -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"