X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Ffsl_usb.h;h=c0f076b06daf5959e06c3535d29f5df4bbf33b6e;hb=c2a38411d11d4b4bed5d89990fb5940c2cbaa02e;hp=1a6c9c1636638f3977db5f3dfbc77bc01392f03a;hpb=b71bf4add68a4a532196c0bead99ed1753014c2a;p=oweals%2Fu-boot.git diff --git a/include/fsl_usb.h b/include/fsl_usb.h index 1a6c9c1636..c0f076b06d 100644 --- a/include/fsl_usb.h +++ b/include/fsl_usb.h @@ -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_ */