ARM: OMAP: Add calls to omap2_set_globals_*()

Previous thread: [ARM] 5034/1: fix arm{925,926,940,946} dma_flush_range() in WT mode by Linux Kernel Mailing List on Sunday, May 18, 2008 - 2:59 pm. (1 message)

Next thread: m68k: Return -ENODEV if no device is found by Linux Kernel Mailing List on Sunday, May 18, 2008 - 3:01 pm. (1 message)
From: Linux Kernel Mailing List
Date: Sunday, May 18, 2008 - 3:00 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c8d2eb...
Commit:     c8d2eb8e56b93c69a30793f19ac1bc784398fbd5
Parent:     0a4b53a22d75efa750f0b93c9b00dd0dc51c0b07
Author:     Paul Walmsley <paul@pwsan.com>
AuthorDate: Wed May 7 16:55:13 2008 -0700
Committer:  Tony Lindgren <tony@atomide.com>
CommitDate: Fri May 9 10:25:02 2008 -0700

    ARM: OMAP: Add calls to omap2_set_globals_*()
    
    Add the omap2_set_globals_{242x,243x,343x}() functions. These
    functions are called early upon boot in the map_io() functions in the
    board-specific init files.
    
    This patch was accidentally left out of the earlier series.
    
    This fixes omap2 booting as noted by Kyungmin Park <kmpark@infradead.org>.
    
    Signed-off-by: Paul Walmsley <paul@pwsan.com>
    Cc: Kyungmin Park <kmpark@infradead.org>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/mach-omap2/board-2430sdp.c |    1 +
 arch/arm/mach-omap2/board-apollon.c |    1 +
 arch/arm/mach-omap2/board-generic.c |    1 +
 arch/arm/mach-omap2/board-h4.c      |    1 +
 include/asm-arm/arch-omap/common.h  |    4 ++++
 5 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c
index 1c12d7c..1682eb7 100644
--- a/arch/arm/mach-omap2/board-2430sdp.c
+++ b/arch/arm/mach-omap2/board-2430sdp.c
@@ -208,6 +208,7 @@ static void __init omap_2430sdp_init(void)
 
 static void __init omap_2430sdp_map_io(void)
 {
+	omap2_set_globals_243x();
 	omap2_map_common_io();
 }
 
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c
index a1e1e67..620fa0f 100644
--- a/arch/arm/mach-omap2/board-apollon.c
+++ b/arch/arm/mach-omap2/board-apollon.c
@@ -394,6 +394,7 @@ static void __init omap_apollon_init(void)
 
 static void __init omap_apollon_map_io(void)
 {
+	omap2_set_globals_242x();
 	omap2_map_common_io();
 }
 
diff --git ...
Previous thread: [ARM] 5034/1: fix arm{925,926,940,946} dma_flush_range() in WT mode by Linux Kernel Mailing List on Sunday, May 18, 2008 - 2:59 pm. (1 message)

Next thread: m68k: Return -ENODEV if no device is found by Linux Kernel Mailing List on Sunday, May 18, 2008 - 3:01 pm. (1 message)