[U-Boot] [PATCH] mpc85xx/t2081: enable parsing DDR ratio for T2081 rev1.1

Shengzhou Liu Shengzhou.Liu at freescale.com
Mon Oct 26 06:51:58 CET 2015


T2081 rev 1.1 changes MEM_PLL_RAT in RCW which requires new parsing for ratio.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu at freescale.com>
---
 arch/powerpc/cpu/mpc85xx/speed.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c
index 79202bb..a48e743 100644
--- a/arch/powerpc/cpu/mpc85xx/speed.c
+++ b/arch/powerpc/cpu/mpc85xx/speed.c
@@ -127,7 +127,8 @@ void get_sys_info(sys_info_t *sys_info)
 	 * T2080 rev 1.1 and later also use half mem_pll comparing with rev 1.0
 	 */
 #if defined(CONFIG_PPC_T4240) || defined(CONFIG_PPC_T4160) || \
-	defined(CONFIG_PPC_T4080) || defined(CONFIG_PPC_T2080)
+	defined(CONFIG_PPC_T4080) || defined(CONFIG_PPC_T2080) || \
+	defined(CONFIG_PPC_T2081)
 	svr = get_svr();
 	switch (SVR_SOC_VER(svr)) {
 	case SVR_T4240:
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list