Skip to content
Snippets Groups Projects
Commit cceaa63b authored by Holger Brunck's avatar Holger Brunck Committed by Wolfgang Denk
Browse files

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: default avatarHolger Brunck <holger.brunck@keymile.com>
Acked-by: default avatarHeiko 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: default avatarValentin Longchamp <valentin.longchamp@keymile.com>
parent ba12cd5b
No related branches found
No related tags found
No related merge requests found
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
* Default environment settings * Default environment settings
*/ */
#define CONFIG_EXTRA_ENV_SETTINGS \ #define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_KM_BOARD_EXTRA_ENV \
CONFIG_KM_DEF_ENV \ CONFIG_KM_DEF_ENV \
"EEprom_ivm=pca9544a:70:4 \0" \ "EEprom_ivm=pca9544a:70:4 \0" \
"unlock=yes\0" \ "unlock=yes\0" \
......
...@@ -85,6 +85,8 @@ ...@@ -85,6 +85,8 @@
PSDMR_CL_2) PSDMR_CL_2)
#define CONFIG_KM_BOARD_EXTRA_ENV ""
/* include further common stuff for all keymile 82xx boards */ /* include further common stuff for all keymile 82xx boards */
#include "km82xx-common.h" #include "km82xx-common.h"
......
...@@ -85,6 +85,8 @@ ...@@ -85,6 +85,8 @@
PSDMR_WRC_2C |\ PSDMR_WRC_2C |\
PSDMR_CL_2) PSDMR_CL_2)
#define CONFIG_KM_BOARD_EXTRA_ENV "bobcatreset=true\0"
/* include further common stuff for all keymile 82xx boards */ /* include further common stuff for all keymile 82xx boards */
#include "km82xx-common.h" #include "km82xx-common.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment