mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	This patch introduces support for building U-Boot to run on the MIPS Boston development board. This is a board built around an FPGA & an Intel EG20T Platform Controller Hub, used largely as part of the development of new CPUs and their software support. It is essentially the successor to the older MIPS Malta board. Signed-off-by: Paul Burton <paul.burton@imgtec.com>
		
			
				
	
	
		
			31 lines
		
	
	
		
			500 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			500 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (C) 2016 Imagination Technologies
 | |
|  *
 | |
|  * SPDX-License-Identifier:	GPL-2.0
 | |
|  */
 | |
| 
 | |
| #include <common.h>
 | |
| 
 | |
| #include <asm/io.h>
 | |
| #include <asm/mipsregs.h>
 | |
| 
 | |
| #include "boston-lcd.h"
 | |
| #include "boston-regs.h"
 | |
| 
 | |
| int checkboard(void)
 | |
| {
 | |
| 	u32 changelist;
 | |
| 
 | |
| 	lowlevel_display("U-boot  ");
 | |
| 
 | |
| 	printf("Board: MIPS Boston\n");
 | |
| 
 | |
| 	printf("CPU:   0x%08x", read_c0_prid());
 | |
| 	changelist = __raw_readl((uint32_t *)BOSTON_PLAT_CORE_CL);
 | |
| 	if (changelist > 1)
 | |
| 		printf(" cl%x", changelist);
 | |
| 	putc('\n');
 | |
| 
 | |
| 	return 0;
 | |
| }
 |