X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=include%2Ffsl_ifc.h;h=29aa687507813e950f3f752af6010ccb4b6d2f47;hb=63c5bf48d5e09317aa3444d2bd51f67d50adb715;hp=a7ddd5fc88732f45b74c0b3b0cd38a391c966a52;hpb=3f6dcdb9cd4dbda226a1474f1e9398413e906b41;p=people%2Fms%2Fu-boot.git 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