projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bff7550
)
net: fec_mxc: use simpler runtime cpu dection macros
author
Peng Fan
<van.freenix@gmail.com>
Mon, 23 May 2016 10:36:04 +0000
(18:36 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 24 May 2016 12:59:57 +0000
(14:59 +0200)
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>
drivers/net/fec_mxc.c
patch
|
blob
|
history
diff --git
a/drivers/net/fec_mxc.c
b/drivers/net/fec_mxc.c
index 3340dd256f6ed1db06f876305092eb9447a6cf1b..360f8e44d1017d9538a25496975727a645b8f6cc 100644
(file)
--- 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);