1 // SPDX-License-Identifier: GPL-2.0+
4 * Vlad Lungu vlad.lungu@windriver.com
11 #include <asm/global_data.h>
12 #include <asm/mipsregs.h>
16 DECLARE_GLOBAL_DATA_PTR;
20 /* Sdram is setup by assembler code */
21 /* If memory could be changed, we should return the true value here */
22 gd->ram_size = MEM_SIZE * 1024 * 1024;
32 proc_id = read_c0_prid();
33 printf("Board: Qemu -M mips CPU: ");
45 config1 = read_c0_config1();
58 config1 = read_c0_config1();
71 printf(" proc_id=0x%x\n", proc_id);
82 int board_eth_init(struct bd_info *bis)
84 return ne2k_register();