diff options
author | Tony Lindgren <tony@atomide.com> | 2014-11-20 12:13:42 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-11-28 15:54:39 -0500 |
commit | 186401937927426f85a28bd798e82ca18e4e5549 (patch) | |
tree | c7d392c85bbf5fdb055389ddd4faf704b8457a6b | |
parent | a86128093845e1947454c68040d69259c805f882 (diff) |
memory: gpmc: Move omap gpmc code to live under drivers
Just move to drivers as further clean-up can now happen there
finally.
Let's also add Roger and me to the MAINTAINERS so we get
notified for any patches related to GPMC.
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | MAINTAINERS | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 2 | ||||
-rw-r--r-- | drivers/memory/Kconfig | 8 | ||||
-rw-r--r-- | drivers/memory/Makefile | 1 | ||||
-rw-r--r-- | drivers/memory/omap-gpmc.c (renamed from arch/arm/mach-omap2/gpmc.c) | 0 |
6 files changed, 20 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index dab92a78d1d5..78cc0595d5d4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -6629,6 +6629,14 @@ L: linux-omap@vger.kernel.org | |||
6629 | S: Maintained | 6629 | S: Maintained |
6630 | F: sound/soc/omap/ | 6630 | F: sound/soc/omap/ |
6631 | 6631 | ||
6632 | OMAP GENERAL PURPOSE MEMORY CONTROLLER SUPPORT | ||
6633 | M: Roger Quadros <rogerq@ti.com> | ||
6634 | M: Tony Lindgren <tony@atomide.com> | ||
6635 | L: linux-omap@vger.kernel.org | ||
6636 | S: Maintained | ||
6637 | F: drivers/memory/omap-gpmc.c | ||
6638 | F: arch/arm/mach-omap2/*gpmc* | ||
6639 | |||
6632 | OMAP FRAMEBUFFER SUPPORT | 6640 | OMAP FRAMEBUFFER SUPPORT |
6633 | M: Tomi Valkeinen <tomi.valkeinen@ti.com> | 6641 | M: Tomi Valkeinen <tomi.valkeinen@ti.com> |
6634 | L: linux-fbdev@vger.kernel.org | 6642 | L: linux-fbdev@vger.kernel.org |
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index f4d06aea8460..0ea218e3dce5 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -79,7 +79,9 @@ config ARCH_OMAP2PLUS | |||
79 | select CLKSRC_MMIO | 79 | select CLKSRC_MMIO |
80 | select GENERIC_IRQ_CHIP | 80 | select GENERIC_IRQ_CHIP |
81 | select MACH_OMAP_GENERIC | 81 | select MACH_OMAP_GENERIC |
82 | select MEMORY | ||
82 | select OMAP_DM_TIMER | 83 | select OMAP_DM_TIMER |
84 | select OMAP_GPMC | ||
83 | select PINCTRL | 85 | select PINCTRL |
84 | select SOC_BUS | 86 | select SOC_BUS |
85 | select TI_PRIV_EDMA | 87 | select TI_PRIV_EDMA |
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 3e824f8fec48..bd85741a9724 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -6,7 +6,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ | |||
6 | -I$(srctree)/arch/arm/plat-omap/include | 6 | -I$(srctree)/arch/arm/plat-omap/include |
7 | 7 | ||
8 | # Common support | 8 | # Common support |
9 | obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \ | 9 | obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o timer.o pm.o \ |
10 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \ | 10 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \ |
11 | omap_device.o sram.o drm.o | 11 | omap_device.o sram.o drm.o |
12 | 12 | ||
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index 6d91c27fd4c8..6759de7ce209 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig | |||
@@ -41,6 +41,14 @@ config TI_EMIF | |||
41 | parameters and other settings during frequency, voltage and | 41 | parameters and other settings during frequency, voltage and |
42 | temperature changes | 42 | temperature changes |
43 | 43 | ||
44 | config OMAP_GPMC | ||
45 | bool | ||
46 | help | ||
47 | This driver is for the General Purpose Memory Controller (GPMC) | ||
48 | present on Texas Instruments SoCs (e.g. OMAP2+). GPMC allows | ||
49 | interfacing to a variety of asynchronous as well as synchronous | ||
50 | memory drives like NOR, NAND, OneNAND, SRAM. | ||
51 | |||
44 | config MVEBU_DEVBUS | 52 | config MVEBU_DEVBUS |
45 | bool "Marvell EBU Device Bus Controller" | 53 | bool "Marvell EBU Device Bus Controller" |
46 | default y | 54 | default y |
diff --git a/drivers/memory/Makefile b/drivers/memory/Makefile index c32d31981be3..a7d410f3ca32 100644 --- a/drivers/memory/Makefile +++ b/drivers/memory/Makefile | |||
@@ -8,6 +8,7 @@ endif | |||
8 | obj-$(CONFIG_ATMEL_SDRAMC) += atmel-sdramc.o | 8 | obj-$(CONFIG_ATMEL_SDRAMC) += atmel-sdramc.o |
9 | obj-$(CONFIG_TI_AEMIF) += ti-aemif.o | 9 | obj-$(CONFIG_TI_AEMIF) += ti-aemif.o |
10 | obj-$(CONFIG_TI_EMIF) += emif.o | 10 | obj-$(CONFIG_TI_EMIF) += emif.o |
11 | obj-$(CONFIG_OMAP_GPMC) += omap-gpmc.o | ||
11 | obj-$(CONFIG_FSL_CORENET_CF) += fsl-corenet-cf.o | 12 | obj-$(CONFIG_FSL_CORENET_CF) += fsl-corenet-cf.o |
12 | obj-$(CONFIG_FSL_IFC) += fsl_ifc.o | 13 | obj-$(CONFIG_FSL_IFC) += fsl_ifc.o |
13 | obj-$(CONFIG_MVEBU_DEVBUS) += mvebu-devbus.o | 14 | obj-$(CONFIG_MVEBU_DEVBUS) += mvebu-devbus.o |
diff --git a/arch/arm/mach-omap2/gpmc.c b/drivers/memory/omap-gpmc.c index abfc0ddd076e..abfc0ddd076e 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/drivers/memory/omap-gpmc.c | |||