serial: Convert ARM_DCC to Kconfig
[oweals/u-boot.git] / include / fsl_usb.h
index 1a6c9c1636638f3977db5f3dfbc77bc01392f03a..c0f076b06daf5959e06c3535d29f5df4bbf33b6e 100644 (file)
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Freescale USB Controller
  *
  * Copyright 2013 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _ASM_FSL_USB_H_
@@ -85,4 +84,17 @@ struct ccsr_usb_phy {
 #define CONFIG_SYS_FSL_USB_SQUELCH_PROG_MASK 0x07
 #endif
 
+/* USB Erratum Checking code */
+#if defined(CONFIG_PPC) || defined(CONFIG_ARM)
+bool has_dual_phy(void);
+bool has_erratum_a005275(void);
+bool has_erratum_a006261(void);
+bool has_erratum_a007075(void);
+bool has_erratum_a007798(void);
+bool has_erratum_a007792(void);
+bool has_erratum_a005697(void);
+bool has_erratum_a004477(void);
+bool has_erratum_a008751(void);
+bool has_erratum_a010151(void);
+#endif
 #endif /*_ASM_FSL_USB_H_ */