Skip to content

Commit 1864019

Browse files
committed
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>
1 parent a861280 commit 1864019

6 files changed

Lines changed: 20 additions & 1 deletion

File tree

‎MAINTAINERS‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6629,6 +6629,14 @@ L: linux-omap@vger.kernel.org
66296629
S: Maintained
66306630
F: sound/soc/omap/
66316631

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+
66326640
OMAP FRAMEBUFFER SUPPORT
66336641
M: Tomi Valkeinen <tomi.valkeinen@ti.com>
66346642
L: linux-fbdev@vger.kernel.org

‎arch/arm/mach-omap2/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ config ARCH_OMAP2PLUS
7979
select CLKSRC_MMIO
8080
select GENERIC_IRQ_CHIP
8181
select MACH_OMAP_GENERIC
82+
select MEMORY
8283
select OMAP_DM_TIMER
84+
select OMAP_GPMC
8385
select PINCTRL
8486
select SOC_BUS
8587
select TI_PRIV_EDMA

‎arch/arm/mach-omap2/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
66
-I$(srctree)/arch/arm/plat-omap/include
77

88
# 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 \
1010
common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
1111
omap_device.o sram.o drm.o
1212

‎drivers/memory/Kconfig‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ config TI_EMIF
4141
parameters and other settings during frequency, voltage and
4242
temperature changes
4343

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+
4452
config MVEBU_DEVBUS
4553
bool "Marvell EBU Device Bus Controller"
4654
default y

‎drivers/memory/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ endif
88
obj-$(CONFIG_ATMEL_SDRAMC) += atmel-sdramc.o
99
obj-$(CONFIG_TI_AEMIF) += ti-aemif.o
1010
obj-$(CONFIG_TI_EMIF) += emif.o
11+
obj-$(CONFIG_OMAP_GPMC) += omap-gpmc.o
1112
obj-$(CONFIG_FSL_CORENET_CF) += fsl-corenet-cf.o
1213
obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
1314
obj-$(CONFIG_MVEBU_DEVBUS) += mvebu-devbus.o

0 commit comments

Comments
 (0)