mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 16:31:25 +01:00 
			
		
		
		
	Move the sg_set_pinsel macro to arch/arm/mach-uniphier/arm32/debug_ll.S
since it is not used anywhere else.
Move the C functions sg_set_{pinsel,iectrl} to debug-uart.c since they
are not used anywhere else.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
		
	
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			656 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			656 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (C) 2016 Masahiro Yamada <yamada.masahiro@socionext.com>
 | |
|  */
 | |
| 
 | |
| #ifndef _MACH_DEBUG_UART_H
 | |
| #define _MACH_DEBUG_UART_H
 | |
| 
 | |
| unsigned int uniphier_ld4_debug_uart_init(void);
 | |
| unsigned int uniphier_pro4_debug_uart_init(void);
 | |
| unsigned int uniphier_sld8_debug_uart_init(void);
 | |
| unsigned int uniphier_pro5_debug_uart_init(void);
 | |
| unsigned int uniphier_pxs2_debug_uart_init(void);
 | |
| unsigned int uniphier_ld6b_debug_uart_init(void);
 | |
| 
 | |
| void sg_set_pinsel(unsigned int pin, unsigned int muxval,
 | |
| 		   unsigned int mux_bits, unsigned int reg_stride);
 | |
| void sg_set_iectrl(unsigned int pin);
 | |
| 
 | |
| #endif /* _MACH_DEBUG_UART_H */
 |