mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	Signed-off-by: Gabriel Huau <contact@huau-gabriel.fr> Acked-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			40 lines
		
	
	
		
			600 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			600 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (C) 2015, Google, Inc
 | |
|  *
 | |
|  * SPDX-License-Identifier:	GPL-2.0+
 | |
|  */
 | |
| 
 | |
| #include <common.h>
 | |
| #include <asm/gpio.h>
 | |
| #include <asm/ibmpc.h>
 | |
| #include <asm/pnp_def.h>
 | |
| #include <netdev.h>
 | |
| #include <smsc_lpc47m.h>
 | |
| 
 | |
| #define SERIAL_DEV PNP_DEV(0x2e, 4)
 | |
| 
 | |
| int arch_early_init_r(void)
 | |
| {
 | |
| 	/* do the pin-muxing */
 | |
| 	gpio_ich6_pinctrl_init();
 | |
| 
 | |
| 	return 0;
 | |
| }
 | |
| 
 | |
| int board_early_init_f(void)
 | |
| {
 | |
| 	lpc47m_enable_serial(SERIAL_DEV, UART0_BASE, UART0_IRQ);
 | |
| 
 | |
| 	return 0;
 | |
| }
 | |
| 
 | |
| void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio)
 | |
| {
 | |
| 	return;
 | |
| }
 | |
| 
 | |
| int board_eth_init(bd_t *bis)
 | |
| {
 | |
| 	return pci_eth_init(bis);
 | |
| }
 |