]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
km-powerpc: define CONFIG_PRAM to protect PHRAM and PNVRAM
authorValentin Longchamp <valentin.longchamp@keymile.com>
Wed, 13 Aug 2014 08:24:04 +0000 (10:24 +0200)
committerYork Sun <yorksun@freescale.com>
Wed, 20 Aug 2014 17:44:16 +0000 (10:44 -0700)
commit24753676700020b635bd0f27712df26cb71f3646
tree7b30238964ddd14941779e166649179a442fafba
parent12eeb1359aa365061f65d978bf728e42813d53dd
km-powerpc: define CONFIG_PRAM to protect PHRAM and PNVRAM

When u-boot initializes the RAM (early in boot) it looks for the "pram"
env variable to know which is area it cannot use. If the "pram" env variable
is not found, the default CONFIG_PRAM value is used.

This value used to be 0 (no protection at all). This patch sets it to a
value that covers PHRAM and PNVRAM that must be protected in our case.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/km/km-powerpc.h