OpenNuvoton / NUC970_U-Boot_v2016.11

U-Boot v2016.11 for NUC970, N9H30, and NUC980
28 stars 45 forks source link

Support EMAC0 without MDC connection (for switch) #15

Closed lightelf76 closed 5 years ago

lightelf76 commented 5 years ago

CONFIG_NUC970_EMAC0_NO_MDC=y does 3 things: 1) pins PF.0 and PF.1 (usually used for MDC/MDIO) stays in it's default state 2) PHY setup manipulations skipped 3) EMAC0 always forced to 100Mb FDX operation

yachen commented 5 years ago

Hi,

May I ask why need to update SPI driver? Thanks.

Sincerely,

Yi-An Chen

lightelf76 commented 5 years ago

Oops... Sorry for mixup. It's not related to EMAC. This is just another patch: do not touch SPI D2~D3 pins, if Quad mode not selected.

yachen commented 5 years ago

Pulled. Squashed into 1 commit with commit message edited. Thanks a lot.