Skip to contentSkip to conversation

ARM: sh-mobile: ag5evm requires GPIOLIB

PATCH In review Takashi Yoshii 2 participants 2 messages Jan 13, 2011

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: sh-mobile: ag5evm requires GPIOLIB

Because ag5evm board setup code uses gpio functions, ARCH_REQUIRE_GPIOLIB should be set in Kconfig. Otherwise, the first build with defconfig fails.

---
 arch/arm/mach-shmobile/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-shmobile/Kconfig +1 -0
index 4d1b4c5..a33c44f 100644
@@ -60,6 +60,7 @@ endchoice
 
 config MACH_AG5EVM
 	bool "AG5EVM board"
+	select ARCH_REQUIRE_GPIOLIB
 	depends on ARCH_SH73A0
 
 config MACH_MACKEREL
Signature · 1 line
1.7.2.2
#1 lore raw
Quoted 3 lines · Takashi Yoshii

Because ag5evm board setup code uses gpio functions, ARCH_REQUIRE_GPIOLIB should be set in Kconfig. Otherwise, the first build with defconfig fails.

Quoted 6 lines · Takashi Yoshii

The latest rmobile-latest doesn't run on ag5evm because of a small mistake on initialization.
Though, I don't have any idea to write them smart. anyway,

On sh73a0, GIC cpu_base is 0xf0000100 but 0xf0001000.

Both applied, thanks.