All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/11] Fix Ethernet boot in am335x
@ 2019-03-18  8:24 Faiz Abbas
  2019-03-18  8:24 ` [U-Boot] [PATCH 01/11] net: Add priv_pdata to eth_pdata Faiz Abbas
                   ` (12 more replies)
  0 siblings, 13 replies; 31+ messages in thread
From: Faiz Abbas @ 2019-03-18  8:24 UTC (permalink / raw)
  To: u-boot

The following patches fix ethernet boot in am335x.

Enabling OF_CONTROL in SPL makes it overflow the sram size. To avoid
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_SUPPORT in 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: Add priv_pdata to eth_pdata
  net: ti: cpsw: Move cpsw_phy_sel() to _probe()
  net: ti: cpsw: Convert cpsw_platform_data to a pointer in cpsw_priv
  net: ti: cpsw-common: Isolate getting syscon address from assigning
    macid
  net: ti: cpsw: Block off ofdata_to_platdata with OF_CONTROL
  net: ti: cpsw: Enable DM_FLAG_PRE_RELOC
  board: ti: am335x: Add platdata for cpsw in SPL
  configs: am335x_evm: Reduce size of SPL
  configs: am335x_evm: Add Support for SPL_ETH
  configs: am335x_evm: Update VCI String
  board: ti: am335x: Remove non DM_ETH code

 board/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(-)

-- 
2.19.2

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2019-04-12 16:32 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-18  8:24 [U-Boot] [PATCH 00/11] Fix Ethernet boot in am335x Faiz Abbas
2019-03-18  8:24 ` [U-Boot] [PATCH 01/11] net: Add priv_pdata to eth_pdata Faiz Abbas
2019-04-12 16:31   ` [U-Boot] [U-Boot,01/11] " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 02/11] net: ti: cpsw: Move cpsw_phy_sel() to _probe() Faiz Abbas
2019-04-12 16:31   ` [U-Boot] [U-Boot, " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 03/11] net: ti: cpsw: Convert cpsw_platform_data to a pointer in cpsw_priv Faiz Abbas
2019-04-12 16:31   ` [U-Boot] [U-Boot, " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 04/11] net: ti: cpsw-common: Isolate getting syscon address from assigning macid Faiz Abbas
2019-04-12 16:31   ` [U-Boot] [U-Boot, " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 05/11] net: ti: cpsw: Block off ofdata_to_platdata with OF_CONTROL Faiz Abbas
2019-04-12 16:31   ` [U-Boot] [U-Boot, " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 06/11] net: ti: cpsw: Enable DM_FLAG_PRE_RELOC Faiz Abbas
2019-04-12 16:31   ` [U-Boot] [U-Boot, " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 07/11] board: ti: am335x: Add platdata for cpsw in SPL Faiz Abbas
2019-03-18 14:10   ` Tom Rini
2019-03-19  8:00     ` Faiz Abbas
2019-04-12 16:31   ` [U-Boot] [U-Boot, " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 08/11] configs: am335x_evm: Reduce size of SPL Faiz Abbas
2019-03-18 14:11   ` Tom Rini
2019-04-12 16:32   ` [U-Boot] [U-Boot, " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 09/11] configs: am335x_evm: Add Support for SPL_ETH Faiz Abbas
2019-04-12 16:32   ` [U-Boot] [U-Boot, " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 10/11] configs: am335x_evm: Update VCI String Faiz Abbas
2019-03-18 14:11   ` Tom Rini
2019-04-12 16:32   ` [U-Boot] [U-Boot,10/11] " Tom Rini
2019-03-18  8:24 ` [U-Boot] [PATCH 11/11] board: ti: am335x: Remove non DM_ETH code Faiz Abbas
2019-04-12 16:32   ` [U-Boot] [U-Boot, " Tom Rini
2019-03-18 14:10 ` [U-Boot] [PATCH 00/11] Fix Ethernet boot in am335x Tom Rini
2019-03-19  7:58   ` Faiz Abbas
2019-03-21 15:22 ` Andrew F. Davis
2019-03-21 15:26   ` Andrew F. Davis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.