X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Ffsl_ifc.h;h=29aa687507813e950f3f752af6010ccb4b6d2f47;hb=b691c9a66817c9d4bed30450f1c491cc2f335224;hp=a7ddd5fc88732f45b74c0b3b0cd38a391c966a52;hpb=08442ec7633c69c882a4a6bd70831226d7a81556;p=u-boot diff --git a/include/fsl_ifc.h b/include/fsl_ifc.h index a7ddd5fc88..29aa687507 100644 --- a/include/fsl_ifc.h +++ b/include/fsl_ifc.h @@ -11,6 +11,9 @@ #ifdef CONFIG_FSL_IFC #include #include +#ifdef CONFIG_ARM +#include +#endif #define FSL_IFC_V1_1_0 0x01010000 #define FSL_IFC_V2_0_0 0x02000000 @@ -19,10 +22,12 @@ #define ifc_in32(a) in_le32(a) #define ifc_out32(a, v) out_le32(a, v) #define ifc_in16(a) in_le16(a) +#define ifc_out16(a, v) out_le16(a, v) #elif defined(CONFIG_SYS_FSL_IFC_BE) #define ifc_in32(a) in_be32(a) #define ifc_out32(a, v) out_be32(a, v) #define ifc_in16(a) in_be16(a) +#define ifc_out16(a, v) out_be16(a, v) #else #error Neither CONFIG_SYS_FSL_IFC_LE nor CONFIG_SYS_FSL_IFC_BE is defined #endif