[U-Boot] [PATCH v4 3/3] km/common: add pnvramsize to default environment
Holger Brunck
holger.brunck at keymile.com
Fri May 13 07:59:24 CEST 2011
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 at keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
Acked-by: Heiko Schocher <hs at denx.de>
cc: Wolfgang Denk <wd at denx.de>
cc: Detlev Zundel <dzu at denx.de>
---
changes for v4:
- fix small bug introduced in v2, remove "0x" which is already
part of the define in the header
Changes for v3:
- nothing
Changes for v2:
- split up first large patch serie to three independent smaller
patch series
- rework the patch with inputs from W.Denk:
- move variable from c-code to default env to be present in any
case when linux starts
include/configs/km/keymile-common.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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
--
1.7.1
More information about the U-Boot
mailing list