From daa30bb22e006d9f39298fb28ea8391ae4ccbc52 Mon Sep 17 00:00:00 2001 From: Ranjani Vaidyanathan Date: Fri, 18 Nov 2011 15:07:00 -0600 Subject: ENGR00162642: Fix bug in setting VDDSOC voltage Fix incorrect VDDSOC voltage setting in uboot. Signed-off-by: Ranjani Vaidyanathan --- cpu/arm_cortexa8/mx6/generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/arm_cortexa8/mx6/generic.c b/cpu/arm_cortexa8/mx6/generic.c index 6af07d0..eef3dd1 100644 --- a/cpu/arm_cortexa8/mx6/generic.c +++ b/cpu/arm_cortexa8/mx6/generic.c @@ -784,8 +784,8 @@ int arch_cpu_init(void) /* Increase the VDDSOC to 1.2V */ val = REG_RD(ANATOP_BASE_ADDR, HW_ANADIG_REG_CORE); val &= ~BM_ANADIG_REG_CORE_REG2_TRG; - val |= BF_ANADIG_REG_CORE_REG2_TRG(0x5); - REG_SET(ANATOP_BASE_ADDR, HW_ANADIG_REG_CORE, val); + val |= BF_ANADIG_REG_CORE_REG2_TRG(0x14); + REG_WR(ANATOP_BASE_ADDR, HW_ANADIG_REG_CORE, val); return 0; } -- cgit v1.1