Rename CONFIG_EHCI_IS_TDI to CONFIG_USB_EHCI_IS_TDI
[platform/kernel/u-boot.git] / include / fsl_qe.h
index d4eba82..48accb8 100644 (file)
@@ -20,6 +20,8 @@
 #define QE_DATAONLY_BASE       0
 #define QE_DATAONLY_SIZE       (QE_MURAM_SIZE - QE_DATAONLY_BASE)
 
+struct udevice;
+
 /* QE threads SNUM
 */
 typedef enum qe_snum_state {
@@ -38,7 +40,7 @@ typedef struct qe_snum {
 #define        QE_RISC_ALLOCATION_RISC2        0x2  /* RISC 2 */
 #define        QE_RISC_ALLOCATION_RISC3        0x4  /* RISC 3 */
 #define        QE_RISC_ALLOCATION_RISC4        0x8  /* RISC 4 */
-#define        QE_RISC_ALLOCATION_RISC1_AND_RISC2      (QE_RISC_ALLOCATION_RISC1 | \
+#define        QE_RISC_ALLOCATION_RISC1_AND_RISC2      (QE_RISC_ALLOCATION_RISC1 | \
                                                 QE_RISC_ALLOCATION_RISC2)
 #define        QE_RISC_ALLOCATION_FOUR_RISCS   (QE_RISC_ALLOCATION_RISC1 | \
                                         QE_RISC_ALLOCATION_RISC2 | \
@@ -227,7 +229,8 @@ typedef enum qe_clock {
 
 /* Structure that defines QE firmware binary files.
  *
- * See doc/README.qe_firmware for a description of these fields.
+ * See Documentation/powerpc/qe_firmware.rst in the Linux kernel tree for
+ * a description of these fields.
  */
 struct qe_firmware {
        struct qe_header {
@@ -295,4 +298,7 @@ int u_qe_firmware_resume(const struct qe_firmware *firmware,
                         qe_map_t *qe_immrr);
 #endif
 
+#if defined(CONFIG_PINCTRL)
+int par_io_of_config(struct udevice *dev);
+#endif
 #endif /* __QE_H__ */