diff options
| author | Valentin Longchamp <[email protected]> | 2011-05-31 02:12:47 +0000 |
|---|---|---|
| committer | U-Boot <uboot@lilith.(none)> | 2011-05-31 19:45:27 +0200 |
| commit | 22c67d08398f0101e26fcbf75ac93433764cb4ae (patch) | |
| tree | d22fdf9c9e2ff36c14d28e2f9cadc0a9c53b53ca /include | |
| parent | ea616d4defbf90b1b0cbdf5d8425b574d606cd35 (diff) | |
arm/km: introduce bootcount env variable and clean km_arm
This environment variable is used to set the bootcount address
for the kernel.
last_stage_init is not available for arm platforms. So the
calls to set_km_var and set_bootcount_addr are done in
misc_init_r.
Additionally some unneeded printouts were removed.
Signed-off-by: Valentin Longchamp <[email protected]>
Signed-off-by: Holger Brunck <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/km/km_arm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index 80a56dd1b7e..5a915f3084d 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -64,6 +64,9 @@ #define CONFIG_KM_KERNEL_ADDR 0x2000000 /* 4096KBytes */ #define CONFIG_KM_DEF_ENV_CPU \ + "addbootcount=" \ + "setenv bootargs ${bootargs} " \ + "bootcountaddr=${bootcountaddr}\0" \ "addmtdparts=setenv bootargs ${bootargs} ${mtdparts}\0" \ "boot=bootm ${actual_kernel_addr} - -\0" \ "cramfsloadfdt=true\0" \ |
