mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Wadim Egorov <w.egorov@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/3] ARM: am33xx: Enable ethernet node on NET boot
Date: Mon, 28 Sep 2015 12:48:00 +0200	[thread overview]
Message-ID: <1443437281-33316-2-git-send-email-w.egorov@phytec.de> (raw)
In-Reply-To: <1443437281-33316-1-git-send-email-w.egorov@phytec.de>

Signed-off-by: Wadim Egorov <w.egorov@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@48030000");
 		break;
+	case BOOTSOURCE_NET:
+		dev = of_device_enable_and_register_by_name("ethernet@4a100000");
+		break;
 	default:
 		/* Use nand fallback */
 		dev = of_device_enable_and_register_by_name("gpmc@50000000");
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2015-09-28 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-28 10:47 [PATCH 1/3] ARM: dts: am335x-phytec-phycore-som: Disable mac node Wadim Egorov
2015-09-28 10:48 ` Wadim Egorov [this message]
2015-09-28 10:48 ` [PATCH 3/3] net: dhcp: Fix CONFIG variable name Wadim Egorov
2015-09-29  7:36 ` [PATCH 1/3] ARM: dts: am335x-phytec-phycore-som: Disable mac node Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1443437281-33316-2-git-send-email-w.egorov@phytec.de \
    --to=w.egorov@phytec.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox