From cb3f94718da5424368892f52d8e874bec58c0482 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 16 Nov 2018 23:06:05 +1100 Subject: rpi: add URL of official revision code list Replace various third party lists of Raspberry Pi revision codes in a comment with the list on raspberrypi.org. Signed-off-by: Jonathan Gray Signed-off-by: Alexander Graf --- board/raspberrypi/rpi/rpi.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'board/raspberrypi/rpi/rpi.c') diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 649127c5bf..5062486311 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -68,14 +68,7 @@ struct msg_get_clock_rate { #endif /* - * http://raspberryalphaomega.org.uk/2013/02/06/automatic-raspberry-pi-board-revision-detection-model-a-b1-and-b2/ - * http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=32733 - * http://git.drogon.net/?p=wiringPi;a=blob;f=wiringPi/wiringPi.c;h=503151f61014418b9c42f4476a6086f75cd4e64b;hb=refs/heads/master#l922 - * - * In http://lists.denx.de/pipermail/u-boot/2016-January/243752.html - * ("[U-Boot] [PATCH] rpi: fix up Model B entries") Dom Cobley at the RPi - * Foundation stated that the following source was accurate: - * https://github.com/AndrewFromMelbourne/raspberry_pi_revision + * https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md */ struct rpi_model { const char *name; -- cgit From d61cf138bce890b0b79745e48a908062bc36b99f Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 16 Nov 2018 23:07:39 +1100 Subject: rpi: add 3 Model A+ Add Raspberry Pi 3 Model A+ to list of models, the revision code is 0xE according to the list on raspberrypi.org. Signed-off-by: Jonathan Gray Signed-off-by: Alexander Graf --- board/raspberrypi/rpi/rpi.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'board/raspberrypi/rpi/rpi.c') diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 5062486311..153a1fdcb7 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -138,6 +138,11 @@ static const struct rpi_model rpi_models_new_scheme[] = { DTB_DIR "bcm2837-rpi-3-b-plus.dtb", true, }, + [0xE] = { + "3 Model A+", + DTB_DIR "bcm2837-rpi-3-a-plus.dtb", + false, + }, }; static const struct rpi_model rpi_models_old_scheme[] = { -- cgit