aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMathieu J. Poirier <mathieu.poirier@linaro.org>2012-07-31 08:59:30 +0000
committerJohn Rigby <john.rigby@linaro.org>2012-08-16 08:50:33 -0600
commitad2192e76b230fa0229da052586c806b032bf2b6 (patch)
treed493fae8a261edd966ac83a0e1c2c27489e722d9 /board
parent42ea83d4ff975bddebab5b0fab56d50f2f0b5fe2 (diff)
u8500: Enabling power to MMC device on AB8500 V2
Register mapping has changed on power control chip between the first and second revision. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: John Rigby <john.rigby@linaro.org> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board')
-rw-r--r--board/st-ericsson/snowball/snowball.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/st-ericsson/snowball/snowball.c b/board/st-ericsson/snowball/snowball.c
index 7c3e08ce3..67fc5dfff 100644
--- a/board/st-ericsson/snowball/snowball.c
+++ b/board/st-ericsson/snowball/snowball.c
@@ -27,6 +27,7 @@
#include <asm/arch/db8500_pincfg.h>
#include <asm/arch/prcmu.h>
#include <asm/arch/hardware.h>
+#include <asm/arch/sys_proto.h>
#include "db8500_pins.h"
@@ -249,5 +250,9 @@ int board_late_init(void)
if ((raise_ab8500_gpio16() < 0))
printf("error: cant' raise GPIO16\n");
+#ifdef CONFIG_MMC
+ u8500_mmc_power_init();
+#endif /* CONFIG_MMC */
+
return 0;
}