poweprc/km82xx: add board specific environment variable
authorHolger Brunck <holger.brunck@keymile.com>
Fri, 8 Apr 2011 02:47:30 +0000 (02:47 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 10 May 2011 20:48:59 +0000 (22:48 +0200)
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>
include/configs/km82xx-common.h
include/configs/mgcoge.h
include/configs/mgcoge3ne.h

index 894e01540d1be4d8fea4643b990dcb91f8b66d64..446c1d0b8b42ac827ff9d2d2223e3e390d0df145 100644 (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"                                                  \
index 93a6f4a83df85cdb902a366403ae5d65204de2d0..07458554efea8c305d666157e7545e5da529e711 100644 (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"
 
index f080619b193bb4ec57dc850bf17dd79025b5619c..7ed213ee513a5c725f8d0987b881e69aab253012 100644 (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"