summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2011-04-08 02:47:30 +0000
committerWolfgang Denk <wd@denx.de>2011-05-10 22:48:59 +0200
commitcceaa63bfebddf95a8019098c7338669fcd290b0 (patch)
tree26333d3bf4c30d3a55cc75d72549263e64e89315 /include/configs
parentba12cd5b06c11b8079deb9903b56bf9f23e3144f (diff)
downloadu-boot-imx-cceaa63bfebddf95a8019098c7338669fcd290b0.zip
u-boot-imx-cceaa63bfebddf95a8019098c7338669fcd290b0.tar.gz
u-boot-imx-cceaa63bfebddf95a8019098c7338669fcd290b0.tar.bz2
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>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/km82xx-common.h1
-rw-r--r--include/configs/mgcoge.h2
-rw-r--r--include/configs/mgcoge3ne.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/km82xx-common.h b/include/configs/km82xx-common.h
index 894e015..446c1d0 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 93a6f4a..0745855 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 f080619..7ed213e 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"