msm8960: Cache scratch address & enable 8bit mode for mmc driver
Change-Id: I7bac3066a7fe41db9e760953176f4b44a80148c4
diff --git a/target/init.c b/target/init.c
index 7d51ea9..fc5c34a 100644
--- a/target/init.c
+++ b/target/init.c
@@ -24,6 +24,7 @@
#include <debug.h>
#include <target.h>
#include <compiler.h>
+#include <mmc.h>
#define EXPAND(NAME) #NAME
#define TARGET(NAME) EXPAND(NAME)
@@ -117,3 +118,9 @@
__WEAK void target_usb_stop(void)
{
}
+
+/* Default target specific function for mmc bus width */
+__WEAK int target_mmc_bus_width()
+{
+ return MMC_BOOT_BUS_WIDTH_4_BIT;
+}