mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	MPC8641HPCN: Report board id, board version and fpga version.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
		
							parent
							
								
									a94f22f08f
								
							
						
					
					
						commit
						7de8c21f14
					
				@ -47,8 +47,10 @@ int board_early_init_f(void)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
int checkboard(void)
 | 
					int checkboard(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	puts("Board: MPC8641HPCN\n");
 | 
						printf ("Board: MPC8641HPCN, System ID: 0x%02lx, "
 | 
				
			||||||
 | 
							"System Version: 0x%02lx, FPGA Version: 0x%02lx\n",
 | 
				
			||||||
 | 
							in8(PIXIS_BASE + PIXIS_ID), in8(PIXIS_BASE + PIXIS_VER),
 | 
				
			||||||
 | 
							in8(PIXIS_BASE + PIXIS_PVER));
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user