From b718a9a320138daf9d799f91c2d0d7a440b6c6c4 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Thu, 7 Oct 2010 09:37:17 -0700 Subject: [PATCH] Panda: Use proper VCORE3 settings for ES2.1 This patch based on work by Ricardo Salveti de Araujo and Rob Clark with help of some other TI folks. --- board/omap4430panda/omap4430panda.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/omap4430panda/omap4430panda.c b/board/omap4430panda/omap4430panda.c index a7c9fda..d63face 100644 --- a/board/omap4430panda/omap4430panda.c +++ b/board/omap4430panda/omap4430panda.c @@ -580,8 +580,10 @@ static scale_vcores(void) /* PRM_VC_VAL_BYPASS */ if(rev == OMAP4430_ES1_0) *(volatile int*)(0x4A307BA0) = 0x316112; - else + else if(rev == OMAP4430_ES2_0) *(volatile int*)(0x4A307BA0) = 0x296112; + else if (rev == OMAP4430_ES2_1) + *(volatile int*)(0x4A307BA0) = 0x2A6112; *(volatile int*)(0x4A307BA0) |= 0x1000000; while((*(volatile int*)(0x4A307BA0)) & 0x1000000); -- 2.39.5