]> git.sur5r.net Git - u-boot/commit
net: keystone_net: add support for NETCP v1.5
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>
Mon, 29 Sep 2014 19:17:21 +0000 (22:17 +0300)
committerTom Rini <trini@ti.com>
Thu, 23 Oct 2014 15:27:05 +0000 (11:27 -0400)
commite3114c9a06e4c4a1fd93967288e28f6f0d61f49d
treeb5817680960a101a4ca941b76bf82203f3291ed5
parentb2cfe32278478dbf4b08a06f8d48436fc3d4ae7e
net: keystone_net: add support for NETCP v1.5

Currently the network driver is used only by k2hk evm board.
The k2hk SoC contains NETCP v1.0, but Keystone2 SoCs, like k2e
contain NETCP v1.5. So driver should be able to work with such kind
of NETCP. This commit adds this opportunity. The main difference in
masks and some registers, the logic is the same, so only definitions
should be changed. To differentiate between versions add KS2_NETCP_V1_0
and KS2_NETCP_V1_5. Also remove unused and no more needed defines.

The port number is specific for each board so move this parameter to
configuration.

Acked-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
arch/arm/include/asm/arch-keystone/emac_defs.h
arch/arm/include/asm/arch-keystone/hardware-k2hk.h
include/configs/k2hk_evm.h