Subject: [PATCH-OMAP3] OMAP3: Introduce CONFIG_OMAP3_MMC
From: Dirk Behme <[EMAIL PROTECTED]>
Introduce CONFIG_OMAP3_MMC as proposed by Kyungmin Park.
Signed-off-by: Dirk Behme <[EMAIL PROTECTED]>
---
drivers/mmc/Makefile | 4 +---
include/configs/omap3_beagle.h | 1 +
include/configs/omap3_evm.h | 1 +
include/configs/omap3_overo.h | 1 +
4 files changed, 4 insertions(+), 3 deletions(-)
Index: u-boot-arm/drivers/mmc/Makefile
===================================================================
--- u-boot-arm.orig/drivers/mmc/Makefile
+++ u-boot-arm/drivers/mmc/Makefile
@@ -26,9 +26,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libmmc.a
COBJS-$(CONFIG_ATMEL_MCI) += atmel_mci.o
-COBJS-$(CONFIG_OMAP3_BEAGLE) += omap3_mmc.o
-COBJS-$(CONFIG_OMAP3_EVM) += omap3_mmc.o
-COBJS-$(CONFIG_OVERO) += omap3_mmc.o
+COBJS-$(CONFIG_OMAP3_MMC) += omap3_mmc.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
Index: u-boot-arm/include/configs/omap3_evm.h
===================================================================
--- u-boot-arm.orig/include/configs/omap3_evm.h
+++ u-boot-arm/include/configs/omap3_evm.h
@@ -93,6 +93,7 @@
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,
115200}
#define CONFIG_MMC 1
+#define CONFIG_OMAP3_MMC 1
#define CONFIG_SYS_MMC_BASE 0xF0000000
#define CONFIG_DOS_PARTITION 1
Index: u-boot-arm/include/configs/omap3_overo.h
===================================================================
--- u-boot-arm.orig/include/configs/omap3_overo.h
+++ u-boot-arm/include/configs/omap3_overo.h
@@ -78,6 +78,7 @@
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,
115200}
#define CONFIG_MMC 1
+#define CONFIG_OMAP3_MMC 1
#define CONFIG_SYS_MMC_BASE 0xF0000000
#define CONFIG_DOS_PARTITION 1
Index: u-boot-arm/include/configs/omap3_beagle.h
===================================================================
--- u-boot-arm.orig/include/configs/omap3_beagle.h
+++ u-boot-arm/include/configs/omap3_beagle.h
@@ -87,6 +87,7 @@
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,
115200}
#define CONFIG_MMC 1
+#define CONFIG_OMAP3_MMC 1
#define CONFIG_SYS_MMC_BASE 0xF0000000
#define CONFIG_DOS_PARTITION 1
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot