SHA256
1
0
forked from pool/u-boot
u-boot/0007-rpi-Add-identifier-for-the-new-RPi3.patch
Andreas Färber 8bb7d3f247 Accepting request 587586 from home:algraf:branches:hardware:boot
- Enable new RPi3 B+ (bsc#1085262)
- Fix network boot (bsc#1070775)
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03
* Patches added:
  0005-rpi3-Enable-lan78xx-driver.patch
  0006-net-Only-access-network-devices-aft.patch
  0007-rpi-Add-identifier-for-the-new-RPi3.patch
  0008-efi_loader-Fix-network-DP-with-DM_E.patch

OBS-URL: https://build.opensuse.org/request/show/587586
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=5
2018-03-15 18:03:58 +00:00

33 lines
972 B
Diff

From 3cb00841e501f6fce91dd9133f6fdfbf2cdd4d39 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Thu, 15 Mar 2018 11:05:46 +0100
Subject: [PATCH] rpi: Add identifier for the new RPi3 B+
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[] = {