summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/spl.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-08-14 10:25:15 -0700
committerTom Rini <trini@ti.com>2012-09-27 09:49:58 -0700
commitf0881250f9429a5c88e39e90c2d7100b0e10f7b9 (patch)
tree829a5278080546333a565de20d86afb9e6d6ba3d /arch/arm/include/asm/spl.h
parent55cdbb8d4e8508dcdb95400f6dfcb928220ffc70 (diff)
downloadtalos-obmc-uboot-f0881250f9429a5c88e39e90c2d7100b0e10f7b9.tar.gz
talos-obmc-uboot-f0881250f9429a5c88e39e90c2d7100b0e10f7b9.zip
ARM: SPL: Make spl_mmc.c more generic
Move the default omap/related-centric board_mmc_init to arch/arm/cpu/armv7/omap-common/boot-common.c and move the type defines to <asm/spl.h>. Also use mmc->read_bl_len rather than MMCSD_SECTOR_SIZE Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/spl.h')
-rw-r--r--arch/arm/include/asm/spl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/spl.h b/arch/arm/include/asm/spl.h
index 19e6c5050f..fdb78b51e4 100644
--- a/arch/arm/include/asm/spl.h
+++ b/arch/arm/include/asm/spl.h
@@ -26,6 +26,11 @@
/* Platform-specific defines */
#include <asm/arch/spl.h>
+/* Boot type */
+#define MMCSD_MODE_UNDEFINED 0
+#define MMCSD_MODE_RAW 1
+#define MMCSD_MODE_FAT 2
+
struct spl_image_info {
const char *name;
u8 os;
OpenPOWER on IntegriCloud