summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <[email protected]>2011-09-13 23:06:11 +0000
committerWolfgang Denk <[email protected]>2011-10-22 00:29:09 +0200
commit2a7714ce64cfd954535f0c96f2809e2fd80d84f0 (patch)
treeb84c02276f7145a3b1f5bf720e1128db7d60b2c1 /include
parent0eb0e59ed3955cd73548c8769bf594c665025dd5 (diff)
km/common: fix ramfs development target
Calucations of PRAM needs to take into account the 'rootfssize'. Memory available to the linux kernel 'mem=' is in all cases set to the total memory size minus the pram size. Signed-off-by: Andreas Huber <[email protected]> Signed-off-by: Holger Brunck <[email protected]> cc: Wolfgang Denk <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/km/keymile-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index bc1edafcb6d..7d93417a259 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -170,7 +170,7 @@
"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}" \
":${hostname}:${netdev}:off3" \
" console=" CONFIG_KM_CONSOLE_TTY ",${baudrate}" \
- " mem=${pnvramaddr} init=${init}" \
+ " mem=${kernelmem} init=${init}" \
" phram.phram=phvar,${varaddr}," xstr(CONFIG_KM_PHRAM) \
" ubi.mtd=" CONFIG_KM_UBI_LINUX_MTD_NAME " " \
CONFIG_KM_DEF_BOOT_ARGS_CPU \