km/common: add pnvramsize to default environment
authorHolger Brunck <holger.brunck@keymile.com>
Thu, 12 May 2011 19:59:24 +0000 (19:59 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 18 May 2011 21:05:40 +0000 (23:05 +0200)
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>

include/configs/km/keymile-common.h

index 9ad2e5b3495335a197305a06940764882a2ceddd..f89a2ea12f7f7197a27f60a9cf5e353065acc493 100644 (file)
                "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