From 2a7714ce64cfd954535f0c96f2809e2fd80d84f0 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Tue, 13 Sep 2011 23:06:11 +0000 Subject: 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 Signed-off-by: Holger Brunck cc: Wolfgang Denk --- include/configs/km/keymile-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configs/km/keymile-common.h') diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index bc1edafcb6..7d93417a25 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 \ -- cgit v1.2.1