|
@@ -19,8 +19,7 @@
|
|
|
#include <linux/timecounter.h>
|
|
|
|
|
|
#if defined(CONFIG_M523x) || defined(CONFIG_M527x) || defined(CONFIG_M528x) || \
|
|
|
- defined(CONFIG_M520x) || defined(CONFIG_M532x) || \
|
|
|
- defined(CONFIG_ARCH_MXC) || defined(CONFIG_SOC_IMX28)
|
|
|
+ defined(CONFIG_M520x) || defined(CONFIG_M532x) || defined(CONFIG_ARM)
|
|
|
/*
|
|
|
* Just figures, Motorola would have to change the offsets for
|
|
|
* registers in the same peripheral device on different models
|
|
@@ -192,10 +191,9 @@
|
|
|
* Define the buffer descriptor structure.
|
|
|
*
|
|
|
* Evidently, ARM SoCs have the FEC block generated in a
|
|
|
- * little endian mode; or at least ARCH_MXC/SOC_IMX28 do,
|
|
|
- * so adjust endianness accordingly.
|
|
|
+ * little endian mode so adjust endianness accordingly.
|
|
|
*/
|
|
|
-#if defined(CONFIG_ARCH_MXC) || defined(CONFIG_SOC_IMX28)
|
|
|
+#if defined(CONFIG_ARM)
|
|
|
#define fec32_to_cpu le32_to_cpu
|
|
|
#define fec16_to_cpu le16_to_cpu
|
|
|
#define cpu_to_fec32 cpu_to_le32
|