From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Wed, 20 Aug 2014 12:38:55 -0700 Subject: [U-Boot] [PATCH v2] km-powerpc: define CONFIG_PRAM to protect PHRAM and PNVRAM In-Reply-To: <1407918244-1963-1-git-send-email-valentin.longchamp@keymile.com> References: <1405599840-11984-1-git-send-email-valentin.longchamp@keymile.com> <1407918244-1963-1-git-send-email-valentin.longchamp@keymile.com> Message-ID: <53F4F94F.4040700@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/13/2014 01:24 AM, Valentin Longchamp wrote: > 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 > Signed-off-by: Holger Brunck > > --- > > Changes in v2: > - simplify the commit message for more clarity. Applied to u-boot-mpc85xx master branch, awaiting for upstream. York