Skip to contentSkip to conversation

TI816X: Create board support for TI816X_EVM

PATCH Superseded Hemant Pedanekar 2 participants 2 messages Aug 11, 2010

Subsystems (3)

v2 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 4/6 TI816X: Create board support for TI816X_EVM

This patch adds minimal support for TI816X EVM to enable kernel boot.

---
 arch/arm/mach-omap2/Kconfig           |    8 ++++
 arch/arm/mach-omap2/board-ti8168evm.c |   58 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-omap2/board-ti8168evm.c
arch/arm/mach-omap2/Kconfig +8 -0
index 3a91a10..75bb208 100644
@@ -249,6 +249,14 @@ config MACH_OMAP4_PANDA
 	default y
 	depends on ARCH_OMAP4
 
+comment "TI816X Board Type"
+	depends on ARCH_TI816X
+
+config MACH_TI8168EVM
+	bool "TI8168 Evaluation Module"
+	default y
+	depends on ARCH_TI816X
+
 config OMAP3_EMU
 	bool "OMAP3 debugging peripherals"
 	depends on ARCH_OMAP3
arch/arm/mach-omap2/board-ti8168evm.c new file +58 -0

58 lines not on this page · raw message

Signature · 1 line
1.6.2.4
#1 lore raw
Quoted 3 lines · Hemant Pedanekar

This patch adds minimal support for TI816X EVM to enable kernel boot.

[...]

arch/arm/mach-omap2/board-ti8168evm.c line 30

Quoted 3 lines
arch/arm/mach-omap2/board-ti8168evm.c new file +3 -0
+static void __init ti8168_evm_init_irq(void)
+{
+	/* Timer1 is reserved on TI816X so skip to first available */

reserved for what? DSP?

If it is totally unavailable for use by Linux, then the timer init should probably request the timer so other users requesting any timer would not be given a reserved timer.

Kevin