Commit a0d93f37 authored by Tom Rini's avatar Tom Rini Committed by Linus Torvalds

[PATCH] ppc32: Have the 8260 board-hook happen a bit later

Borut Lukic <borutlukic@email.si> brought to my attention that in
platform_init() on 8260 the board hook was being called too early to allow for
overrides (e.g.  different memory sizings functions or rtc, or anything else).
 This moves the call to the end of platform_init() and I suspect fixes some
unnoticed yet bugs in a number of 8260 platforms.
Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4455c3f2
...@@ -242,9 +242,6 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5, ...@@ -242,9 +242,6 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
strcpy(cmd_line, (char *)(r6+KERNELBASE)); strcpy(cmd_line, (char *)(r6+KERNELBASE));
} }
/* Call back for board-specific settings. */
m82xx_board_init();
ppc_md.setup_arch = m8260_setup_arch; ppc_md.setup_arch = m8260_setup_arch;
ppc_md.show_cpuinfo = m8260_show_cpuinfo; ppc_md.show_cpuinfo = m8260_show_cpuinfo;
ppc_md.init_IRQ = m8260_init_IRQ; ppc_md.init_IRQ = m8260_init_IRQ;
...@@ -260,4 +257,7 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5, ...@@ -260,4 +257,7 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
ppc_md.find_end_of_memory = m8260_find_end_of_memory; ppc_md.find_end_of_memory = m8260_find_end_of_memory;
ppc_md.setup_io_mappings = m8260_map_io; ppc_md.setup_io_mappings = m8260_map_io;
/* Call back for board-specific settings and overrides. */
m82xx_board_init();
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment