]> git.sur5r.net Git - u-boot/commit
ARM: K2G: DDR3: Fix up priv ID for MPU
authorNishanth Menon <nm@ti.com>
Tue, 29 Nov 2016 06:37:50 +0000 (12:07 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 3 Dec 2016 18:21:10 +0000 (13:21 -0500)
commit4361220daeb0bc151a844230c33fb87f989cb25e
treebab4eb0c7de29956e5e4b08dc248b831ff97bf2a
parent5d4d436c6defdb17ac9766ed85a4a62e4b6a05b2
ARM: K2G: DDR3: Fix up priv ID for MPU

For ECC enabled DDR, we use EDMA to reset all memory values to 0. For
K2E/L/H/K the priv ID of 8 was indicative of ARM, but that is not the
case for K2G, where it is 1.

Unfortunately, ddr3 code had hard coded the privID and had missed
identification previously. Fix the same, else unforeseen behavior can
be expected in our reset of DDR contents to 0 for ECC enablement.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-keystone/ddr3.c