]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-socfpga/include/mach/misc.h
arm: socfpga: misc: Move bridge command to misc common
[u-boot] / arch / arm / mach-socfpga / include / mach / misc.h
index f3447495abbc0fb53777529951d69c5961928a83..7fe77ac8d81b793a798e37494cae175bab30c976 100644 (file)
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (C) 2016-2017 Intel Corporation
- *
- * SPDX-License-Identifier:    GPL-2.0
  */
 
 #ifndef _MISC_H_
@@ -22,4 +21,12 @@ void socfpga_fpga_add(void);
 static inline void socfpga_fpga_add(void) {}
 #endif
 
+#if defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
+unsigned int dedicated_uart_com_port(const void *blob);
+unsigned int shared_uart_com_port(const void *blob);
+unsigned int uart_com_port(const void *blob);
+#endif
+
+void do_bridge_reset(int enable);
+
 #endif /* _MISC_H_ */