mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
7d7aa2fd92
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
59 lines
1.7 KiB
Diff
59 lines
1.7 KiB
Diff
From ac6c4a17f6f7aeb977b04dd4dc7e801b7776499f Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
|
|
Date: Thu, 29 Aug 2019 16:26:22 +0200
|
|
Subject: [PATCH] arm: dts: add missing Raspberry Pi model names
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This is needed to identify the different models on distributions like OpenWrt.
|
|
|
|
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
|
|
---
|
|
arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 1 +
|
|
arch/arm/boot/dts/bcm2708-rpi-b.dts | 1 +
|
|
arch/arm/boot/dts/bcm2708-rpi-cm.dts | 1 +
|
|
arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 1 +
|
|
4 files changed, 4 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
|
|
+++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
|
|
@@ -6,6 +6,7 @@
|
|
#include "bcm283x-rpi-csi1-2lane.dtsi"
|
|
|
|
/ {
|
|
+ compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
|
|
model = "Raspberry Pi Model B+";
|
|
};
|
|
|
|
--- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
|
|
+++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
|
|
@@ -6,6 +6,7 @@
|
|
#include "bcm283x-rpi-csi1-2lane.dtsi"
|
|
|
|
/ {
|
|
+ compatible = "raspberrypi,model-b", "brcm,bcm2835";
|
|
model = "Raspberry Pi Model B";
|
|
};
|
|
|
|
--- a/arch/arm/boot/dts/bcm2708-rpi-cm.dts
|
|
+++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dts
|
|
@@ -5,6 +5,7 @@
|
|
#include "bcm283x-rpi-csi1-4lane.dtsi"
|
|
|
|
/ {
|
|
+ compatible = "raspberrypi,compute-module", "brcm,bcm2835";
|
|
model = "Raspberry Pi Compute Module";
|
|
};
|
|
|
|
--- a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
|
|
+++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
|
|
@@ -6,6 +6,7 @@
|
|
#include "bcm283x-rpi-csi1-4lane.dtsi"
|
|
|
|
/ {
|
|
+ compatible = "raspberrypi,3-compute-module", "brcm,bcm2837";
|
|
model = "Raspberry Pi Compute Module 3";
|
|
};
|
|
|