This series adds the following * Enable DM_ETH on dra74, am437x gp and am437x sk evms. * Add support to verify of_is_device_conpatible() based on linux implementation * Fix an issue in fdtdec get addr for address and size cell length
Pushed a branch for others for testing [1] and logs at [2] [1] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git cpsw-v2 [2] - http://pastebin.ubuntu.com/15780009/ Changes from initial version: * removed 02/11 fix size cell and address cell parse from DT and used fdtdec_get_addr_size_auto_noparent() to get mdio base and gmii_sel register address. Added as seperate patch in this series. * used fdt_node_check_compatible() to check if the device or machine is compatible with the given compatible string. * change first argument from node offset to device pointer so that in future it is will be easy to migrate out of indexing DT by offsets. Mugunthan V N (12): drivers: core: device: add support to check dt compatible for a device/machine ti_omap5_common: eth: do not define DM_ETH for spl drivers: net: cpsw: fix cpsw dp parse when num slaves as 1 ARM: omap5: add platform specific ethernet phy modes configurations drivers: net: cpsw: fix get mdio base and gmii_sel reg from DT drivers: net: cpsw: add support for reading mac address from efuse arm: dts: am4372: add syscon node to cpsw to read mac address arm: dts: dra7: add syscon node to cpsw to read mac address arm: dts: dra7: fix ethernet name with proper device address defconfig: am437x_gp_evm: enable eth driver model defconfig: am437x_sk_evm: enable eth driver model defconfig: dra74_evm: enable eth driver model arch/arm/dts/am4372.dtsi | 1 + arch/arm/dts/dra7.dtsi | 3 +- arch/arm/include/asm/arch-omap5/cpu.h | 12 ++++ configs/am437x_gp_evm_defconfig | 1 + configs/am437x_sk_evm_defconfig | 1 + configs/dra74_evm_defconfig | 1 + drivers/core/device.c | 14 ++++ drivers/net/Makefile | 2 +- drivers/net/cpsw-common.c | 121 ++++++++++++++++++++++++++++++++++ drivers/net/cpsw.c | 54 ++++++++------- include/configs/ti_omap5_common.h | 1 + include/cpsw.h | 1 + include/dm/device.h | 23 +++++++ 13 files changed, 209 insertions(+), 26 deletions(-) create mode 100644 drivers/net/cpsw-common.c -- 2.8.1.101.g72d917a _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot