1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2007 IBM Corporation
5 * Stephen Winiecki <stevewin@us.ibm.com>
6 * Josh Boyer <jwboyer@linux.vnet.ibm.com>
8 * Based on earlier code:
9 * Copyright (C) Paul Mackerras 1997.
23 void platform_init(unsigned long r3, unsigned long r4, unsigned long r5)
25 u32 heapsize = 0x8000000 - (u32)_end; /* 128M */
27 simple_alloc_init(_end, heapsize, 32, 64);
29 serial_console_init();