Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1418498 > unrolled thread

[PATCH 0/6] ARM: OMAP2+: Don't force select OMAP_GPMC

Started byFranklin S Cooper Jr <fcooper@ti.com>
First post2016-06-09 19:10 +0200
Last post2016-06-09 19:10 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/6] ARM: OMAP2+: Don't force select OMAP_GPMC Franklin S Cooper Jr <fcooper@ti.com> - 2016-06-09 19:10 +0200
    [PATCH 6/6] ARM: OMAP2+: Don't force select OMAP_GPMC Franklin S Cooper Jr <fcooper@ti.com> - 2016-06-09 19:10 +0200

#1418498 — [PATCH 0/6] ARM: OMAP2+: Don't force select OMAP_GPMC

FromFranklin S Cooper Jr <fcooper@ti.com>
Date2016-06-09 19:10 +0200
Subject[PATCH 0/6] ARM: OMAP2+: Don't force select OMAP_GPMC
Message-ID<rIbCV-S9-3@gated-at.bofh.it>
When building random configs a compile failure was detected due to
CONFIG_MEMORY not being selected. This was due to OMAP_GPMC being enabled
by ARCH_OMAP2PLUS which ignores config dependencies. This patchset fixes
this issue and also insures GPMC and NAND is enabled for multi_v7.

Boot tested that NAND works on AM335x EVM using both omap2plus and
multi_v7 config

Franklin S Cooper Jr (6):
  ARM: omap2plus_defconfig: Enable OMAP GPMC
  ARM: multi_v7_defconfig: Enable OMAP GPMC
  ARM: multi_v7_defconfig: Enable OMAP NAND drivers
  mtd: nand: Add OMAP_GPMC as a dependency to MTD_NAND_OMAP2
  memory: omap-gpmc: Enable omap-gpmc by default when dependency is met
  ARM: OMAP2+: Don't force select OMAP_GPMC

 arch/arm/configs/multi_v7_defconfig  | 3 +++
 arch/arm/configs/omap2plus_defconfig | 1 +
 arch/arm/mach-omap2/Kconfig          | 1 -
 drivers/memory/Kconfig               | 1 +
 drivers/mtd/nand/Kconfig             | 2 +-
 5 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.7.0

[toc] | [next] | [standalone]


#1418501 — [PATCH 6/6] ARM: OMAP2+: Don't force select OMAP_GPMC

FromFranklin S Cooper Jr <fcooper@ti.com>
Date2016-06-09 19:10 +0200
Subject[PATCH 6/6] ARM: OMAP2+: Don't force select OMAP_GPMC
Message-ID<rIbCW-S9-31@gated-at.bofh.it>
In reply to#1418498
OMAP_GPMC requires CONFIG_MEMORY to be enabled. However, by forcing
OMAP_GPMC to be selected dependencies are ignored. This is a problem
since it means OMAP_GPMC is always enabled even when it shouldn't be.

By avoiding this force selection it insures that OMAP_GPMC is only
enabled when its dependencies are met.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 arch/arm/mach-omap2/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 0517f0c..dcbb4bd 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -95,7 +95,6 @@ config ARCH_OMAP2PLUS
 	select MEMORY
 	select MFD_SYSCON
 	select OMAP_DM_TIMER
-	select OMAP_GPMC
 	select PINCTRL
 	select SOC_BUS
 	select OMAP_IRQCHIP
-- 
2.7.0

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web