All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] rpi3: Enable lan78xx driver
@ 2018-03-15 14:05 Alexander Graf
  2018-03-15 14:05 ` [U-Boot] [PATCH 2/2] rpi: Add identifier for the new RPi3 B+ Alexander Graf
  2018-04-05  9:44 ` [U-Boot] [U-Boot,1/2] rpi3: Enable lan78xx driver Alexander Graf
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Graf @ 2018-03-15 14:05 UTC (permalink / raw)
  To: u-boot

The new Raspberry Pi B 3+ has a lan78xx device attached to it. Let's add
driver support in U-Boot for it.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 configs/rpi_3_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig
index 0f3a54ec9a..810b60344f 100644
--- a/configs/rpi_3_defconfig
+++ b/configs/rpi_3_defconfig
@@ -36,3 +36,5 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_PHYLIB=y
+CONFIG_USB_ETHER_LAN78XX=y
-- 
2.12.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] rpi: Add identifier for the new RPi3 B+
  2018-03-15 14:05 [U-Boot] [PATCH 1/2] rpi3: Enable lan78xx driver Alexander Graf
@ 2018-03-15 14:05 ` Alexander Graf
  2018-04-05  9:44   ` [U-Boot] [U-Boot,2/2] " Alexander Graf
  2018-04-05  9:44 ` [U-Boot] [U-Boot,1/2] rpi3: Enable lan78xx driver Alexander Graf
  1 sibling, 1 reply; 4+ messages in thread
From: Alexander Graf @ 2018-03-15 14:05 UTC (permalink / raw)
  To: u-boot

The Raspberr Pi Foundation released a new RPi3 version which we want
to detect as well, so we can enable ethernet on it and know the correct
device tree file name.

Add an identifier for it.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 board/raspberrypi/rpi/rpi.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 177f4af265..279a9c3cda 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -111,6 +111,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
 		DTB_DIR "bcm2835-rpi-zero-w.dtb",
 		false,
 	},
+	[0xD] = {
+		"3 Model B+",
+		DTB_DIR "bcm2837-rpi-3-b-plus.dtb",
+		true,
+	},
 };
 
 static const struct rpi_model rpi_models_old_scheme[] = {
-- 
2.12.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [U-Boot,1/2] rpi3: Enable lan78xx driver
  2018-03-15 14:05 [U-Boot] [PATCH 1/2] rpi3: Enable lan78xx driver Alexander Graf
  2018-03-15 14:05 ` [U-Boot] [PATCH 2/2] rpi: Add identifier for the new RPi3 B+ Alexander Graf
@ 2018-04-05  9:44 ` Alexander Graf
  1 sibling, 0 replies; 4+ messages in thread
From: Alexander Graf @ 2018-04-05  9:44 UTC (permalink / raw)
  To: u-boot

> The new Raspberry Pi B 3+ has a lan78xx device attached to it. Let's add
> driver support in U-Boot for it.
> 
> Signed-off-by: Alexander Graf <agraf@suse.de>

Thanks, applied to efi-next

Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [U-Boot,2/2] rpi: Add identifier for the new RPi3 B+
  2018-03-15 14:05 ` [U-Boot] [PATCH 2/2] rpi: Add identifier for the new RPi3 B+ Alexander Graf
@ 2018-04-05  9:44   ` Alexander Graf
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Graf @ 2018-04-05  9:44 UTC (permalink / raw)
  To: u-boot

> The Raspberr Pi Foundation released a new RPi3 version which we want
> to detect as well, so we can enable ethernet on it and know the correct
> device tree file name.
> 
> Add an identifier for it.
> 
> Signed-off-by: Alexander Graf <agraf@suse.de>

Thanks, applied to efi-next

Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-05  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-15 14:05 [U-Boot] [PATCH 1/2] rpi3: Enable lan78xx driver Alexander Graf
2018-03-15 14:05 ` [U-Boot] [PATCH 2/2] rpi: Add identifier for the new RPi3 B+ Alexander Graf
2018-04-05  9:44   ` [U-Boot] [U-Boot,2/2] " Alexander Graf
2018-04-05  9:44 ` [U-Boot] [U-Boot,1/2] rpi3: Enable lan78xx driver Alexander Graf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.