[PATCH 2/3] ARM: am33xx: Enable ethernet node on NET boot

Wadim Egorov w.egorov at phytec.de
Mon Sep 28 03:48:00 PDT 2015


Signed-off-by: Wadim Egorov <w.egorov at phytec.de>
---
 arch/arm/mach-omap/am33xx_generic.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-omap/am33xx_generic.c b/arch/arm/mach-omap/am33xx_generic.c
index ae0ee58..5eead5c 100644
--- a/arch/arm/mach-omap/am33xx_generic.c
+++ b/arch/arm/mach-omap/am33xx_generic.c
@@ -505,6 +505,9 @@ int am33xx_of_register_bootdevice(void)
 	case BOOTSOURCE_SPI:
 		dev = of_device_enable_and_register_by_name("spi at 48030000");
 		break;
+	case BOOTSOURCE_NET:
+		dev = of_device_enable_and_register_by_name("ethernet at 4a100000");
+		break;
 	default:
 		/* Use nand fallback */
 		dev = of_device_enable_and_register_by_name("gpmc at 50000000");
-- 
1.9.1




More information about the barebox mailing list