diff options
Diffstat (limited to 'arch/powerpc/boot/simpleboot.c')
-rw-r--r-- | arch/powerpc/boot/simpleboot.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/boot/simpleboot.c b/arch/powerpc/boot/simpleboot.c index 86cd285bccc6..c58a0dada992 100644 --- a/arch/powerpc/boot/simpleboot.c +++ b/arch/powerpc/boot/simpleboot.c | |||
@@ -23,6 +23,8 @@ | |||
23 | 23 | ||
24 | BSS_STACK(4*1024); | 24 | BSS_STACK(4*1024); |
25 | 25 | ||
26 | extern int platform_specific_init(void) __attribute__((weak)); | ||
27 | |||
26 | void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | 28 | void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, |
27 | unsigned long r6, unsigned long r7) | 29 | unsigned long r6, unsigned long r7) |
28 | { | 30 | { |
@@ -80,5 +82,9 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
80 | 82 | ||
81 | /* prepare the device tree and find the console */ | 83 | /* prepare the device tree and find the console */ |
82 | fdt_init(_dtb_start); | 84 | fdt_init(_dtb_start); |
85 | |||
86 | if (platform_specific_init) | ||
87 | platform_specific_init(); | ||
88 | |||
83 | serial_console_init(); | 89 | serial_console_init(); |
84 | } | 90 | } |