[U-Boot] [PATCH-OMAP3] OMAP3: Introduce CONFIG_OMAP3_MMC
dirk.behme at googlemail.com
dirk.behme at googlemail.com
Tue Nov 4 17:52:24 CET 2008
Subject: [PATCH-OMAP3] OMAP3: Introduce CONFIG_OMAP3_MMC
From: Dirk Behme <dirk.behme at gmail.com>
Introduce CONFIG_OMAP3_MMC as proposed by Kyungmin Park.
Signed-off-by: Dirk Behme <dirk.behme at gmail.com>
---
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
More information about the U-Boot
mailing list