Fix Ethernet boot in am335x
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 11 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 11 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/11] Fix Ethernet boot in am335x
Quoted 3 lines · Faiz Abbas
The following patches fix ethernet boot in am335x.
Enabling
OF_CONTROLin SPL makes it overflow the sram size. To avoid
If you are overflowing SRAM on the non-HS devices you are even more constrained on HS, you don't need an HS to test, just build for am335x_hs_evm_defconfig and it should break build if you out of space.
Thanks,
Andrew
Quoted 37 lines
this, I am using static platdata in the am335x board file instead of the fdtdec_*() calls used in
ofdata_to_platdata().Patches 1-5 isolate the two operations of getting platform data (all of which should happen in
_ofdata_to_platdata()) and initial configurations (all of which should happen in_probe()).Patch 6 makes sure the cpsw driver gets probed in SPL. Patch 7 adds static platdata to the am335 board file. Patches 8-10 makes changes in the config to make space for and enable
ETH_SUPPORTin SPL.
Patch 11 removes non-DM_ETH code from the am335x board file.Tested ethernet boot and tftp in am335x-evm. Regression tested on dra71x-evm.
Faiz Abbas (11):
net: Addpriv_pdatatoeth_pdata
net: ti: cpsw: Movecpsw_phy_sel()to_probe()
net: ti: cpsw: Convertcpsw_platform_datato a pointer incpsw_priv
net: ti: cpsw-common: Isolate getting syscon address from assigning
macid
net: ti: cpsw: Block offofdata_to_platdatawithOF_CONTROL
net: ti: cpsw: EnableDM_FLAG_PRE_RELOC
board: ti: am335x: Add platdata for cpsw in SPL
configs:am335x_evm: Reduce size of SPL
configs:am335x_evm: Add Support forSPL_ETH
configs:am335x_evm: Update VCI String
board: ti: am335x: Remove nonDM_ETHcodeboard/ti/am335x/board.c | 170 ++++++----------------------- configs/am335x_evm_defconfig | 8 +- drivers/net/ti/cpsw-common.c | 127 ++++++++++------------ drivers/net/ti/cpsw.c | 202 ++++++++++++++++------------------- include/cpsw.h | 25 ++++- include/net.h | 2 + 6 files changed, 217 insertions(+), 317 deletions(-)