From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Filippov Date: Fri, 5 Aug 2016 18:26:14 +0300 Subject: [U-Boot] [PATCH v2 0/7] net/ethoc improvements Message-ID: <1470410781-7944-1-git-send-email-jcmvbkbc@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, this series does the following improvements to the OpenCores 10/100 Mbps driver: - add Kconfig symbol for the driver; - add DM_ETH support; - add device tree support; - add optional phylib support; - add support for configurations with private packet memory; - clean up virtual/physical address usage. Changes v1->v2: - rename ethoc_set_mac_address to ethoc_write_hwaddr_common; - rename ethoc_recv_common to ethoc_is_new_packet_received; - use positive logic with CONFIG_DM_ETH; - return from DM ethoc_recv when ethoc_is_new_packet_received returns 0; - use wait_for_bit in ethoc_mdio_read/ethoc_mdio_write; - remove stray ioremap addition/removal across the series. Max Filippov (7): net/ethoc: add Kconfig entry for the driver net/ethoc: use priv instead of dev internally net/ethoc: add CONFIG_DM_ETH support net/ethoc: support device tree net/ethoc: don't mix virtual and physical addresses net/ethoc: support private memory configurations net/ethoc: implement MDIO bus and support phylib configs/openrisc-generic_defconfig | 2 + drivers/net/Kconfig | 5 + drivers/net/ethoc.c | 526 ++++++++++++++++++++++++++++------- include/configs/openrisc-generic.h | 1 - include/dm/platform_data/net_ethoc.h | 21 ++ 5 files changed, 454 insertions(+), 101 deletions(-) create mode 100644 include/dm/platform_data/net_ethoc.h -- 2.1.4