diff options
Diffstat (limited to 'arch/powerpc/boot/mvme5100.c')
-rw-r--r-- | arch/powerpc/boot/mvme5100.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/powerpc/boot/mvme5100.c b/arch/powerpc/boot/mvme5100.c new file mode 100644 index 000000000000..cb865f83c60b --- /dev/null +++ b/arch/powerpc/boot/mvme5100.c | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * Motorola/Emerson MVME5100 with PPCBug firmware. | ||
3 | * | ||
4 | * Author: Stephen Chivers <schivers@csc.com> | ||
5 | * | ||
6 | * Copyright 2013 CSC Australia Pty. Ltd. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License | ||
10 | * version 2 as published by the Free Software Foundation. | ||
11 | * | ||
12 | */ | ||
13 | #include "types.h" | ||
14 | #include "ops.h" | ||
15 | #include "io.h" | ||
16 | |||
17 | BSS_STACK(4096); | ||
18 | |||
19 | void platform_init(unsigned long r3, unsigned long r4, unsigned long r5) | ||
20 | { | ||
21 | u32 heapsize; | ||
22 | |||
23 | heapsize = 0x8000000 - (u32)_end; /* 128M */ | ||
24 | simple_alloc_init(_end, heapsize, 32, 64); | ||
25 | fdt_init(_dtb_start); | ||
26 | serial_console_init(); | ||
27 | } | ||