mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	Merge sbc-admulti.c and sbc-savepin.c into a single file to avoid code duplication. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
		
			
				
	
	
		
			26 lines
		
	
	
		
			488 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			488 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (C) 2016-2017 Socionext Inc.
 | |
|  *
 | |
|  * SPDX-License-Identifier:	GPL-2.0+
 | |
|  */
 | |
| 
 | |
| #include <common.h>
 | |
| #include <spl.h>
 | |
| #include <linux/io.h>
 | |
| 
 | |
| #include "../init.h"
 | |
| #include "sbc-regs.h"
 | |
| 
 | |
| void uniphier_ld11_sbc_init(void)
 | |
| {
 | |
| 	uniphier_sbc_init_savepin();
 | |
| 
 | |
| 	/* necessary for ROM boot ?? */
 | |
| 	/* system bus output enable */
 | |
| 	writel(0x17, PC0CTRL);
 | |
| 
 | |
| 	/* pins for NAND and System Bus are multiplexed */
 | |
| 	if (spl_boot_device() != BOOT_DEVICE_NAND)
 | |
| 		uniphier_pin_init("system_bus_grp");
 | |
| }
 |