From 674a6a836ab35d06d87e6d6a46d8929e68eda0c3 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 28 Nov 2008 10:16:36 +0000 Subject: [PATCH] add-gta03-bring-sd-card-power-up.patch Signed-off-by: Andy Green --- qiboot/src/gta03/gta03.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qiboot/src/gta03/gta03.c b/qiboot/src/gta03/gta03.c index cd00731..7f88ba8 100644 --- a/qiboot/src/gta03/gta03.c +++ b/qiboot/src/gta03/gta03.c @@ -124,6 +124,12 @@ void port_init_gta03(void) * We have to talk to the PMU a little bit */ + /* We need SD Card rail (HCLDO) at 3.0V */ + i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x39, 21); + + /* switch HCLDO on */ + i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x3a, 1); + /* push DOWN1 (CPU Core rail) to 1.7V, allowing 533MHz */ i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x1e, 0x2b);