Lines Matching +full:mini +full:- +full:usb
1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2008-2009 The GameCube Linux Team
43 return -EINVAL; in mipc_check_address()
51 /* 'mini' header pointer is the last word of MEM2 memory */ in mipc_get_infohdr()
54 printf("mini: invalid hdrp %08X\n", (u32)hdrp); in mipc_get_infohdr()
61 printf("mini: invalid hdr %08X\n", (u32)hdr); in mipc_get_infohdr()
65 if (memcmp(hdr->magic, "IPC", 3)) { in mipc_get_infohdr()
66 printf("mini: invalid magic\n"); in mipc_get_infohdr()
82 error = -1; in mipc_get_mem2_boundary()
86 if (mipc_check_address(hdr->mem2_boundary)) { in mipc_get_mem2_boundary()
87 printf("mini: invalid mem2_boundary %08X\n", in mipc_get_mem2_boundary()
88 hdr->mem2_boundary); in mipc_get_mem2_boundary()
89 error = -EINVAL; in mipc_get_mem2_boundary()
92 *mem2_boundary = hdr->mem2_boundary; in mipc_get_mem2_boundary()
118 /* retrieve MEM2 boundary from 'mini' */ in platform_fixups()
122 mem2_boundary = MEM2_TOP - FIRMWARE_DEFAULT_SIZE; in platform_fixups()
126 reg[3] = mem2_boundary - reg[2]; in platform_fixups()
137 u32 heapsize = 24*1024*1024 - (u32)_end; in platform_init()
143 * 'mini' boots the Broadway processor with EXI disabled. in platform_init()
144 * We need it enabled before probing for the USB Gecko. in platform_init()