Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Motorola/Emerson MVME5100 with PPCBug firmware.
0004  *
0005  * Author: Stephen Chivers <schivers@csc.com>
0006  *
0007  * Copyright 2013 CSC Australia Pty. Ltd.
0008  */
0009 #include "types.h"
0010 #include "ops.h"
0011 #include "io.h"
0012 
0013 BSS_STACK(4096);
0014 
0015 void platform_init(unsigned long r3, unsigned long r4, unsigned long r5)
0016 {
0017     u32         heapsize;
0018 
0019     heapsize = 0x8000000 - (u32)_end; /* 128M */
0020     simple_alloc_init(_end, heapsize, 32, 64);
0021     fdt_init(_dtb_start);
0022     serial_console_init();
0023 }