diff options
author | Peng Fan | 2016-05-23 18:36:04 +0800 |
---|---|---|
committer | Stefano Babic | 2016-05-24 14:59:57 +0200 |
commit | 87f9989502763f36b1df94c909cbf05f65633fc4 (patch) | |
tree | 65ddc37fab4a2cb1147464439545e8163ff8e5f8 /drivers/net | |
parent | bff755033133b49eaea38a68fe3284c1a25f2695 (diff) |
net: fec_mxc: use simpler runtime cpu dection macros
Use simpler runtime cpu dection macros.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/fec_mxc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 3340dd256f6..360f8e44d10 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -566,7 +566,7 @@ static int fec_init(struct eth_device *dev, bd_t* bd) /* Do not access reserved register for i.MX6UL */ - if (!is_cpu_type(MXC_CPU_MX6UL)) { + if (!is_mx6ul()) { /* clear MIB RAM */ for (i = mib_ptr; i <= mib_ptr + 0xfc; i += 4) writel(0, i); |