]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: board: Move USB ethernet initialization to board_late_init()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 8 Dec 2020 15:45:31 +0000 (17:45 +0200)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 11 Jan 2021 23:19:34 +0000 (23:19 +0000)
commit92600edb431b03df7149ee30c1508bbc3b5ebb43
treee94f25656f4a2b8be065b29f2927797d89a94549
parent0e4d5db4e0379da9ca4eee00dbca9773d8718e8e
sunxi: board: Move USB ethernet initialization to board_late_init()

For the sake of consistency (*) and order of initialization, i.e.
after we have got the ethernet address, interrupt and timer initialized,
try to initialize USB ethernet gadget.

*) for example, zynqmp uses same order.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/Kconfig
board/sunxi/board.c