Use kernel endian config

Remove custom vendor files.

Reviewed-by: Giulio Benetti giulio.benetti@benettiengineering.com
This commit is contained in:
Carlos Garces
2021-11-16 20:49:51 +01:00
committed by Carlos Garcés
parent c68f509db8
commit b3da33576d
17 changed files with 423 additions and 1195 deletions

View File

@@ -11670,10 +11670,10 @@ static void printdata(u8 *pbuf, u32 len)
}
if (i < len) {
#ifdef CONFIG_BIG_ENDIAN
#ifdef __BIG_ENDIAN
for (; i < len, i++)
printk("%02X", pbuf + i);
#else /* CONFIG_LITTLE_ENDIAN */
#else /* __LITTLE_ENDIAN */
#if 0
val = 0;
_rtw_memcpy(&val, pbuf + i, len - i);
@@ -11688,7 +11688,7 @@ static void printdata(u8 *pbuf, u32 len)
n = (4 - n) * 2;
printk("%8s", str + n);
#endif
#endif /* CONFIG_LITTLE_ENDIAN */
#endif /* __BIG_ENDIAN */
}
printk("\n");
}