[U-Boot] Pull request: u-boot-net.git master

Hi Tom,
This contains a few bug fixes and features from earlier in the merge window.
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-net.git master
for you to fetch changes up to d6bf59abead4069aa1164951d76a00d91f8f0298:
net: Remove all calls to net_random_ethaddr() (2015-05-19 13:33:22 -0500)
---------------------------------------------------------------- Joe Hershberger (4): net: Update hardware MAC address if it changes in env net: Implement random ethaddr fallback in eth.c net: Remove all references to CONFIG_ETHADDR and friends net: Remove all calls to net_random_ethaddr()
Michal Simek (1): net: phy: Add support for all targets which requires MANUAL_RELOC
Shengzhou Liu (2): net/phy: Add support for realtek RTL8211F net/phy: refactor RTL8211F initialization
README | 19 ++---- board/bct-brettl2/bct-brettl2.c | 13 ---- board/bf518f-ezbrd/bf518f-ezbrd.c | 28 ++------ board/bf526-ezbrd/bf526-ezbrd.c | 28 ++------ board/bf527-ezkit/bf527-ezkit.c | 9 +-- board/bf537-minotaur/bf537-minotaur.c | 18 ----- board/bf537-pnav/bf537-pnav.c | 18 ----- board/bf537-srv1/bf537-srv1.c | 19 ------ board/bf537-stamp/bf537-stamp.c | 28 ++------ board/buffalo/lsxl/lsxl.c | 10 --- board/cm-bf527/cm-bf527.c | 11 +--- board/cm-bf537e/cm-bf537e.c | 15 ----- board/cm-bf537u/cm-bf537u.c | 15 ----- board/dnp5370/dnp5370.c | 28 ++------ board/ip04/ip04.c | 12 ---- board/tcm-bf518/tcm-bf518.c | 40 ----------- board/tcm-bf537/tcm-bf537.c | 15 ----- configs/bct-brettl2_defconfig | 3 +- configs/bf518f-ezbrd_defconfig | 2 + configs/bf526-ezbrd_defconfig | 2 + configs/bf527-ezkit_defconfig | 2 + configs/bf537-minotaur_defconfig | 2 + configs/bf537-pnav_defconfig | 2 + configs/bf537-srv1_defconfig | 2 + configs/bf537-stamp_defconfig | 2 + configs/cm-bf527_defconfig | 2 + configs/cm-bf537e_defconfig | 2 + configs/cm-bf537u_defconfig | 2 + configs/dnp5370_defconfig | 2 + configs/ip04_defconfig | 2 + configs/lschlv2_defconfig | 2 + configs/lsxhl_defconfig | 2 + configs/tcm-bf518_defconfig | 2 + configs/tcm-bf537_defconfig | 2 + doc/README.enetaddr | 4 +- drivers/net/bcm-sf2-eth.c | 6 -- drivers/net/designware.c | 4 -- drivers/net/dm9000x.c | 6 -- drivers/net/ftmac110.c | 3 - drivers/net/greth.c | 10 +-- drivers/net/lan91c96.c | 7 -- drivers/net/macb.c | 9 --- drivers/net/phy/phy.c | 16 +++++ drivers/net/phy/realtek.c | 102 +++++++++++++++++++++++++++++ examples/standalone/README.smc91111_eeprom | 23 ------- include/configs/M5208EVBE.h | 2 - include/configs/M5235EVB.h | 2 - include/configs/M5272C3.h | 2 - include/configs/M5282EVB.h | 2 - include/configs/M53017EVB.h | 3 - include/configs/M5329EVB.h | 2 - include/configs/M5373EVB.h | 2 - include/configs/M54418TWR.h | 3 - include/configs/M54451EVB.h | 2 - include/configs/M54455EVB.h | 3 - include/configs/M5475EVB.h | 5 -- include/configs/M5485EVB.h | 3 - include/configs/MPC8536DS.h | 4 -- include/configs/MPC8540ADS.h | 5 +- include/configs/MPC8541CDS.h | 3 - include/configs/MPC8544DS.h | 2 - include/configs/MPC8548CDS.h | 6 -- include/configs/MPC8555CDS.h | 5 -- include/configs/MPC8560ADS.h | 8 +-- include/configs/MPC8568MDS.h | 4 -- include/configs/MPC8572DS.h | 6 -- include/configs/MPC8610HPCD.h | 1 - include/configs/MPC8641HPCN.h | 10 +-- include/configs/a4m072.h | 1 - include/configs/bct-brettl2.h | 2 - include/configs/bf518f-ezbrd.h | 2 - include/configs/bf526-ezbrd.h | 2 - include/configs/bf527-ezkit.h | 2 - include/configs/bf533-ezkit.h | 2 - include/configs/bf533-stamp.h | 2 - include/configs/bf537-minotaur.h | 2 - include/configs/bf537-pnav.h | 2 - include/configs/bf537-srv1.h | 2 - include/configs/bf537-stamp.h | 2 - include/configs/bf538f-ezkit.h | 2 - include/configs/bf548-ezkit.h | 2 - include/configs/bf561-acvilon.h | 3 - include/configs/bf561-ezkit.h | 2 - include/configs/blackstamp.h | 3 - include/configs/blackvme.h | 3 - include/configs/br4.h | 3 - include/configs/cm-bf527.h | 2 - include/configs/cm-bf533.h | 2 - include/configs/cm-bf537e.h | 2 - include/configs/cm-bf537u.h | 2 - include/configs/cm-bf548.h | 2 - include/configs/cm-bf561.h | 2 - include/configs/cobra5272.h | 1 - include/configs/dbau1x00.h | 2 - include/configs/ea20.h | 3 +- include/configs/gr_cpci_ax2000.h | 1 - include/configs/gr_ep2s60.h | 10 --- include/configs/gr_xc3s_1500.h | 9 --- include/configs/grsim.h | 11 ---- include/configs/grsim_leon2.h | 11 ---- include/configs/ibf-dsp561.h | 2 - include/configs/inka4x0.h | 3 - include/configs/lsxl.h | 1 - include/configs/microblaze-generic.h | 1 - include/configs/motionpro.h | 2 - include/configs/omap3_cairo.h | 1 - include/configs/pb1x00.h | 2 - include/configs/pr1.h | 2 - include/configs/sbc405.h | 1 - include/configs/sbc8548.h | 4 -- include/configs/sbc8641d.h | 10 +-- include/configs/scb9328.h | 1 - include/configs/sequoia.h | 9 --- include/configs/stxgp3.h | 6 +- include/configs/stxssa.h | 6 +- include/configs/tcm-bf518.h | 2 - include/configs/tcm-bf537.h | 2 - include/configs/uniphier.h | 1 - include/configs/v38b.h | 1 - include/configs/work_92105.h | 11 ---- include/configs/xaeniax.h | 1 - include/configs/zeus.h | 2 - include/env_default.h | 18 ----- net/Kconfig | 8 +++ net/eth.c | 88 +++++++++++++++++-------- 125 files changed, 267 insertions(+), 653 deletions(-)

On Tue, May 19, 2015 at 01:56:47PM -0500, Joe Hershberger wrote:
Hi Tom,
This contains a few bug fixes and features from earlier in the merge window.
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-net.git master
for you to fetch changes up to d6bf59abead4069aa1164951d76a00d91f8f0298:
net: Remove all calls to net_random_ethaddr() (2015-05-19 13:33:22 -0500)
NAK: +(bf537-minotaur) common/built-in.o:(.data.init_sequence_r+0x40): undefined reference to `misc_init_r' +(bf537-pnav) common/built-in.o:(.data.init_sequence_r+0x48): undefined reference to `misc_init_r' +(bf537-srv1) ../board/bf537-srv1/bf537-srv1.c:29:2: error: #endif without #if +(bf537-srv1) make[2]: *** [board/bf537-srv1/bf537-srv1.o] Error 1 +(bf537-srv1) make[1]: *** [board/bf537-srv1] Error 2 w+(bf527-ezkit-v2,bf527-ezkit) ../board/bf527-ezkit/bf527-ezkit.c: In function ‘board_init_enetaddr’: w+(bf527-ezkit-v2,bf527-ezkit) ../board/bf527-ezkit/bf527-ezkit.c:30:7: warning: unused variable ‘valid_mac’

Hi Tom,
On Wed, May 20, 2015 at 6:28 AM, Tom Rini trini@konsulko.com wrote:
On Tue, May 19, 2015 at 01:56:47PM -0500, Joe Hershberger wrote:
Hi Tom,
This contains a few bug fixes and features from earlier in the merge window.
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-net.git master
for you to fetch changes up to d6bf59abead4069aa1164951d76a00d91f8f0298:
net: Remove all calls to net_random_ethaddr() (2015-05-19 13:33:22 -0500)
NAK: +(bf537-minotaur) common/built-in.o:(.data.init_sequence_r+0x40): undefined reference to `misc_init_r' +(bf537-pnav) common/built-in.o:(.data.init_sequence_r+0x48): undefined reference to `misc_init_r' +(bf537-srv1) ../board/bf537-srv1/bf537-srv1.c:29:2: error: #endif without #if +(bf537-srv1) make[2]: *** [board/bf537-srv1/bf537-srv1.o] Error 1 +(bf537-srv1) make[1]: *** [board/bf537-srv1] Error 2 w+(bf527-ezkit-v2,bf527-ezkit) ../board/bf527-ezkit/bf527-ezkit.c: In function ‘board_init_enetaddr’: w+(bf527-ezkit-v2,bf527-ezkit) ../board/bf527-ezkit/bf527-ezkit.c:30:7: warning: unused variable ‘valid_mac’
Sorry about that. Meant to circle back on this one I got the blackfin compiler setup.
Should be good now. I ran buildman on it for all blackfin boards.
-Joe

On Wed, May 20, 2015 at 12:11:36PM -0500, Joe Hershberger wrote:
Hi Tom,
On Wed, May 20, 2015 at 6:28 AM, Tom Rini trini@konsulko.com wrote:
On Tue, May 19, 2015 at 01:56:47PM -0500, Joe Hershberger wrote:
Hi Tom,
This contains a few bug fixes and features from earlier in the merge window.
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-net.git master
for you to fetch changes up to d6bf59abead4069aa1164951d76a00d91f8f0298:
net: Remove all calls to net_random_ethaddr() (2015-05-19 13:33:22 -0500)
NAK: +(bf537-minotaur) common/built-in.o:(.data.init_sequence_r+0x40): undefined reference to `misc_init_r' +(bf537-pnav) common/built-in.o:(.data.init_sequence_r+0x48): undefined reference to `misc_init_r' +(bf537-srv1) ../board/bf537-srv1/bf537-srv1.c:29:2: error: #endif without #if +(bf537-srv1) make[2]: *** [board/bf537-srv1/bf537-srv1.o] Error 1 +(bf537-srv1) make[1]: *** [board/bf537-srv1] Error 2 w+(bf527-ezkit-v2,bf527-ezkit) ../board/bf527-ezkit/bf527-ezkit.c: In function ‘board_init_enetaddr’: w+(bf527-ezkit-v2,bf527-ezkit) ../board/bf527-ezkit/bf527-ezkit.c:30:7: warning: unused variable ‘valid_mac’
Sorry about that. Meant to circle back on this one I got the blackfin compiler setup.
Should be good now. I ran buildman on it for all blackfin boards.
I've applied the updated PR. Please address the following in some follow-up patches: w+(lschlv2,lsxhl) ../board/buffalo/lsxl/lsxl.c: In function 'rescue_mode': w+(lschlv2,lsxhl) ../board/buffalo/lsxl/lsxl.c:230:8: warning: unused variable 'enetaddr' [-Wunused-variable]
Thanks!

Hi Tom,
On Thu, May 21, 2015 at 8:09 AM, Tom Rini trini@konsulko.com wrote:
On Wed, May 20, 2015 at 12:11:36PM -0500, Joe Hershberger wrote:
Hi Tom,
On Wed, May 20, 2015 at 6:28 AM, Tom Rini trini@konsulko.com wrote:
On Tue, May 19, 2015 at 01:56:47PM -0500, Joe Hershberger wrote:
Hi Tom,
This contains a few bug fixes and features from earlier in the merge window.
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-net.git master
for you to fetch changes up to d6bf59abead4069aa1164951d76a00d91f8f0298:
net: Remove all calls to net_random_ethaddr() (2015-05-19 13:33:22 -0500)
NAK: +(bf537-minotaur) common/built-in.o:(.data.init_sequence_r+0x40): undefined reference to `misc_init_r' +(bf537-pnav) common/built-in.o:(.data.init_sequence_r+0x48): undefined reference to `misc_init_r' +(bf537-srv1) ../board/bf537-srv1/bf537-srv1.c:29:2: error: #endif without #if +(bf537-srv1) make[2]: *** [board/bf537-srv1/bf537-srv1.o] Error 1 +(bf537-srv1) make[1]: *** [board/bf537-srv1] Error 2 w+(bf527-ezkit-v2,bf527-ezkit) ../board/bf527-ezkit/bf527-ezkit.c: In function ‘board_init_enetaddr’: w+(bf527-ezkit-v2,bf527-ezkit) ../board/bf527-ezkit/bf527-ezkit.c:30:7: warning: unused variable ‘valid_mac’
Sorry about that. Meant to circle back on this one I got the blackfin compiler setup.
Should be good now. I ran buildman on it for all blackfin boards.
I've applied the updated PR. Please address the following in some follow-up patches: w+(lschlv2,lsxhl) ../board/buffalo/lsxl/lsxl.c: In function 'rescue_mode': w+(lschlv2,lsxhl) ../board/buffalo/lsxl/lsxl.c:230:8: warning: unused variable 'enetaddr' [-Wunused-variable]
Will do.
Thanks, -Joe
participants (2)
-
Joe Hershberger
-
Tom Rini