km/common: add pnvramsize to default environment
The pnvram size was used later from start scripts in linux. Therefore
it was added to the default environment.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Acked-by: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
cc: Detlev Zundel <dzu@denx.de>
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 9ad2e5b..f89a2ea 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -293,6 +293,7 @@
"setenv default 'run newenv; reset' && " \
"run release && saveenv; reset\0" \
"checkboardid=km_checkbidhwk\0" \
+ "pnvramsize=" xstr(CONFIG_KM_PNVRAM) "\0" \
""
#ifndef CONFIG_KM_DEF_ENV