]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cpuat91: unbreak ethernet
authorEric Bénard <eric@eukrea.com>
Mon, 21 Jun 2010 07:40:43 +0000 (09:40 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 12 Jul 2010 07:14:29 +0000 (00:14 -0700)
commit836cd453583627cbef784bd4d7963109d5914bde
tree0f17601188fa2d0f218fecb90a5c956c5da7b432
parent409943a98961661fd93fb055a3d302184901dda5
cpuat91: unbreak ethernet

* the following problems are met :
config was set to use the new driver as a default but
- RMII was not enabled for the new driver
- the new driver didn't compile with RMII enabled
- the new driver initialize a PHY at address O when the PHY of
this board is at 1 thus we get "AT91 EMAC RMII: No PHY present"

* to fix these problems, this patch :
- enable RMII for the new driver
- fix the wrong define used in the at91_emac.c
- allow the config file to set a default phy address (and use
0 as a default as in the actual at91_emac.c driver)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/at91_emac.c
include/configs/cpuat91.h