mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
69492fb4c5
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>
20 lines
656 B
C
20 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 */
|