diff options
author | Andreas Huber <andreas.huber@keymile.com> | 2011-09-13 23:06:11 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-22 00:29:09 +0200 |
commit | 2a7714ce64cfd954535f0c96f2809e2fd80d84f0 (patch) | |
tree | b84c02276f7145a3b1f5bf720e1128db7d60b2c1 /include/configs | |
parent | 0eb0e59ed3955cd73548c8769bf594c665025dd5 (diff) | |
download | u-boot-imx-2a7714ce64cfd954535f0c96f2809e2fd80d84f0.zip u-boot-imx-2a7714ce64cfd954535f0c96f2809e2fd80d84f0.tar.gz u-boot-imx-2a7714ce64cfd954535f0c96f2809e2fd80d84f0.tar.bz2 |
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 <andreas.huber@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/km/keymile-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index bc1edaf..7d93417 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 \ |