rpi3: Enable lan78xx driver
PATCH 1/2 rpi3: Enable lan78xx driver
The new Raspberry Pi B 3+ has a lan78xx device attached to it. Let's add driver support in U-Boot for it.
--- configs/rpi_3_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/rpi_3_defconfig +2 -0
@@ -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
Signature · 1 line
2.12.3
Alexander Graf
AppliedPATCH 1/2 rpi3: Enable lan78xx driver
Quoted 4 lines
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 <[email protected]>
Thanks, applied to efi-next
Alex
PATCH 2/2 rpi: Add identifier for the new RPi3 B+
In reply to Alexander GrafThe 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.
--- board/raspberrypi/rpi/rpi.c | 5 +++++ 1 file changed, 5 insertions(+)
board/raspberrypi/rpi/rpi.c +5 -0
@@ -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[] = {
Signature · 1 line
2.12.3
Alexander Graf
AppliedPATCH 2/2 rpi: Add identifier for the new RPi3 B+
Quoted 7 lines
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 <[email protected]>
Thanks, applied to efi-next
Alex