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>
diff --git a/board/st-ericsson/snowball/snowball.c b/board/st-ericsson/snowball/snowball.c
index 7c3e08c..67fc5df 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 @@
if ((raise_ab8500_gpio16() < 0))
printf("error: cant' raise GPIO16\n");
+#ifdef CONFIG_MMC
+ u8500_mmc_power_init();
+#endif /* CONFIG_MMC */
+
return 0;
}