1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * arch/powerpc/boot/gamecube.c
5 * Nintendo GameCube bootwrapper support
6 * Copyright (C) 2004-2009 The GameCube Linux Team
7 * Copyright (C) 2008,2009 Albert Herranz
20 void platform_init(unsigned long r3
, unsigned long r4
, unsigned long r5
)
22 u32 heapsize
= 16*1024*1024 - (u32
)_end
;
24 simple_alloc_init(_end
, heapsize
, 32, 64);
28 console_ops
.write
= ug_console_write
;