summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorLiGang <b41990@freescale.com>2012-09-06 15:50:08 +0800
committerLiGang <b41990@freescale.com>2012-09-06 15:50:08 +0800
commit34424c323c0d4b3aa836bab449e3475ffe0bb59f (patch)
tree3e6f83fc62d751f7d2e9a846ca02a70a8bc940f5 /board
parent794288699c9b66afdb1a39c84e65066c0c44d5f0 (diff)
downloadu-boot-imx-34424c323c0d4b3aa836bab449e3475ffe0bb59f.zip
u-boot-imx-34424c323c0d4b3aa836bab449e3475ffe0bb59f.tar.gz
u-boot-imx-34424c323c0d4b3aa836bab449e3475ffe0bb59f.tar.bz2
ENGR00222170: Add mx6sl_evk_android_config for mx6sl evk board
- mx6sl_evk_android.h is a new file, copied from mx6sl_arm2_android.h - set default sdio port as mmc1 Signed-off-by: LiGang <b41990@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6sl_evk/mx6sl_evk.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/board/freescale/mx6sl_evk/mx6sl_evk.c b/board/freescale/mx6sl_evk/mx6sl_evk.c
index 85c3b61..089373e 100644
--- a/board/freescale/mx6sl_evk/mx6sl_evk.c
+++ b/board/freescale/mx6sl_evk/mx6sl_evk.c
@@ -97,7 +97,6 @@ static inline void setup_boot_device(void)
case 0x7:
boot_dev = MMC_BOOT;
break;
- break;
default:
boot_dev = UNKNOWN_BOOT;
break;
@@ -947,6 +946,24 @@ void setup_pmic_voltages(void)
if (i2c_read(0x8, 0, 1, &value, 1))
printf("%s:i2c_read:error\n", __func__);
printf("Found PFUZE100! device id=%x\n", value);
+ if (value == 0x10) {
+ /*workaround ER1 of pfuze1.0: set all buck regulators
+ in PWM mode except SW1C*/
+ value = 0x6;
+ i2c_write(0x8, 0x23, 1, &value, 1);/*SW1AB*/
+
+ value = 0x6;
+ i2c_write(0x8, 0x38, 1, &value, 1);/*SW2*/
+
+ value = 0x6;
+ i2c_write(0x8, 0x3f, 1, &value, 1);/*SW3A*/
+
+ value = 0x6;
+ i2c_write(0x8, 0x46, 1, &value, 1);/*SW3B*/
+
+ value = 0x6;
+ i2c_write(0x8, 0x4d, 1, &value, 1);/*SW4*/
+ }
#if CONFIG_MX6_INTER_LDO_BYPASS
/*VDDCORE 1.1V@800Mhz: SW1AB */
value = 0x20;