aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2010-09-15 13:10:19 -0400
committerTony Lindgren <tony@atomide.com>2010-09-20 17:58:09 -0400
commit455d4d2dc76471baec0c70daf8ff6c09fc743c24 (patch)
treeb907f1ed8e21d4a3eb94307650b13e8da6f1c868
parent61e9beafdd6f2b2d27ad5935a2de9c46709b9671 (diff)
omap: Update and rename common defconfig for omap2plus devices
This patch addresses below things - Renaming existing omap3_defconfig which has OMAP2, OMAP3 and OMAP4 builds enabled to more appropriate name 'omap2plus_defconfig' - L1 cache shift is suppose to be 5 on OMAP4 where as it is 6 on previous OMAPs. Keeping it to 5 is safer option for OMAP4 and previous OMAPs. For OMAP3 only build the shift would be still 6 - Enable needed Errata's for OMAP4 to work with DMA based device drivers CONFIG_PL310_ERRATA_588369=y CONFIG_ARM_ERRATA_720789=y - Enable the Micrel ethernet controller CONFIG_KS8851=y CONFIG_KS8851_MLL=y With above three changes, OMAP4 ethernet, mmc etc works reliably. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/configs/omap2plus_defconfig (renamed from arch/arm/configs/omap3_defconfig)3
-rw-r--r--arch/arm/mach-omap2/Kconfig4
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/configs/omap3_defconfig b/arch/arm/configs/omap2plus_defconfig
index 833a9bccb6af..3d27dd0ed409 100644
--- a/arch/arm/configs/omap3_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -53,6 +53,7 @@ CONFIG_MACH_SBC3530=y
53CONFIG_MACH_OMAP_3630SDP=y 53CONFIG_MACH_OMAP_3630SDP=y
54CONFIG_MACH_OMAP_4430SDP=y 54CONFIG_MACH_OMAP_4430SDP=y
55CONFIG_ARM_THUMBEE=y 55CONFIG_ARM_THUMBEE=y
56CONFIG_ARM_L1_CACHE_SHIFT=5
56CONFIG_NO_HZ=y 57CONFIG_NO_HZ=y
57CONFIG_HIGH_RES_TIMERS=y 58CONFIG_HIGH_RES_TIMERS=y
58CONFIG_SMP=y 59CONFIG_SMP=y
@@ -139,6 +140,8 @@ CONFIG_SMSC_PHY=y
139CONFIG_NET_ETHERNET=y 140CONFIG_NET_ETHERNET=y
140CONFIG_SMC91X=y 141CONFIG_SMC91X=y
141CONFIG_SMSC911X=y 142CONFIG_SMSC911X=y
143CONFIG_KS8851=y
144CONFIG_KS8851_MLL=y
142CONFIG_LIBERTAS=y 145CONFIG_LIBERTAS=y
143CONFIG_LIBERTAS_USB=y 146CONFIG_LIBERTAS_USB=y
144CONFIG_LIBERTAS_SDIO=y 147CONFIG_LIBERTAS_SDIO=y
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index b48bacf0a7aa..bb85f24c3643 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -35,7 +35,7 @@ config ARCH_OMAP3
35 default y 35 default y
36 select CPU_V7 36 select CPU_V7
37 select USB_ARCH_HAS_EHCI 37 select USB_ARCH_HAS_EHCI
38 select ARM_L1_CACHE_SHIFT_6 38 select ARM_L1_CACHE_SHIFT_6 if !ARCH_OMAP4
39 39
40config ARCH_OMAP4 40config ARCH_OMAP4
41 bool "TI OMAP4" 41 bool "TI OMAP4"
@@ -43,6 +43,8 @@ config ARCH_OMAP4
43 depends on ARCH_OMAP2PLUS 43 depends on ARCH_OMAP2PLUS
44 select CPU_V7 44 select CPU_V7
45 select ARM_GIC 45 select ARM_GIC
46 select PL310_ERRATA_588369
47 select ARM_ERRATA_720789
46 48
47comment "OMAP Core Type" 49comment "OMAP Core Type"
48 depends on ARCH_OMAP2 50 depends on ARCH_OMAP2