[U-Boot] [PATCH v3 3/9] da850/omap-l138: Make MMC and NOR support mutually exclusive
Prabhakar Lad
prabhakar.lad at ti.com
Thu Jun 21 09:51:25 CEST 2012
From: Rajashekhara, Sudhakar <sudhakar.raj at ti.com>
On Logic PD Rev.3 DA850/OMAP-L138 EVM, NOR and MMC/SD cannot
work together. This patch enables the MMC/SD support only
when NOR support is disabled. NOR Flash identification works
even without this patch, but erase and write will have issues.
Signed-off-by: Rajashekhara, Sudhakar <sudhakar.raj at ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.lad at ti.com>
Signed-off-by: Hadli, Manjunath <manjunath.hadli at ti.com>
---
Changes for v2: None
Changes for v3:
1: Moved patch up the sequence
include/configs/da850evm.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 8b4fea1..4546e0f 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -314,10 +314,12 @@
#endif
/* SD/MMC configuration */
+#ifndef CONFIG_USE_NOR
#define CONFIG_MMC
#define CONFIG_DAVINCI_MMC_SD1
#define CONFIG_GENERIC_MMC
#define CONFIG_DAVINCI_MMC
+#endif
/*
* Enable MMC commands only when
--
1.7.4.1
More information about the U-Boot
mailing list