am335x_evm: enable support for booting via USB
authorIlya Yanok <ilya.yanok@cogentembedded.com>
Tue, 5 Feb 2013 11:36:26 +0000 (11:36 +0000)
committerTom Rini <trini@ti.com>
Mon, 18 Feb 2013 18:49:16 +0000 (13:49 -0500)
commitc0e66793c4af8f6a50fa236ab14ff4de7e31d01a
treedaac4c7989089d8fc56d6f0c5ba0a2dbb744f718
parentda07c21b77aaa4633caffb804aad23a809c233b4
am335x_evm: enable support for booting via USB

This adds necessary config options and a new build target,
am335x_evm_usbspl, to enable usb booting and fixes board_eth_init()
function to take into account that we may have USB ether support in SPL
now.  This uses the same MAC for both cpsw and USB, in order to match
ROM behavior.

The usbspl build target does not contain UART SPL, CPSW SPL or extra
environment settings, so that we may fit within our binary size
constraint.

Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Signed-off-by: Tom Rini <trini@ti.com>
board/ti/am335x/board.c
include/configs/am335x_evm.h