From: Steve Sakoman Date: Thu, 7 Oct 2010 16:37:17 +0000 (-0700) Subject: Panda: Use proper VCORE3 settings for ES2.1 X-Git-Tag: v1.5.0~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b718a9a320138daf9d799f91c2d0d7a440b6c6c4;p=pandora-x-loader.git 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. --- 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);