diff options
author | Tom Rini <trini@ti.com> | 2014-08-20 16:07:34 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-08-20 16:07:34 -0400 |
commit | 67ee22b0681305ba1099c508eecade996abc1c65 (patch) | |
tree | a1da76fb52d70ed7d2335e1885ee88d8b71414b8 /include/configs/km/km-powerpc.h | |
parent | 801123fe50464156103774a6e6d068ee4352a10b (diff) | |
parent | f38391793f1a5c62d1c72a647f15a88e7c22ef11 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'include/configs/km/km-powerpc.h')
-rw-r--r-- | include/configs/km/km-powerpc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h index 763c5bad82..eb85a74919 100644 --- a/include/configs/km/km-powerpc.h +++ b/include/configs/km/km-powerpc.h @@ -59,8 +59,9 @@ #define CONFIG_KM_PHRAM 0x100000 /* resereved pram area at the end of memroy [hex] */ #define CONFIG_KM_RESERVED_PRAM 0x0 -/* enable protected RAM */ -#define CONFIG_PRAM 0 +/* set the default PRAM value to at least PNVRAM + PHRAM when pram env variable + * is not valid yet, which is the case for when u-boot copies itself to RAM */ +#define CONFIG_PRAM ((CONFIG_KM_PNVRAM + CONFIG_KM_PHRAM)>>10) #define CONFIG_KM_CRAMFS_ADDR 0x800000 #define CONFIG_KM_KERNEL_ADDR 0x400000 /* 3968Kbytes */ |