mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
26 lines
838 B
Diff
26 lines
838 B
Diff
From e641fd7a50987ad6b7ce1ab36189bc8817295e42 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Tue, 31 Oct 2023 16:34:56 +0000
|
|
Subject: [PATCH] fixup! arch/arm64: Add Revision, Serial, Model to cpuinfo
|
|
|
|
Delete the Hardware string, which is pointless and misleading.
|
|
|
|
See: https://github.com/raspberrypi/bookworm-feedback/issues/129
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
arch/arm64/kernel/cpuinfo.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
--- a/arch/arm64/kernel/cpuinfo.c
|
|
+++ b/arch/arm64/kernel/cpuinfo.c
|
|
@@ -224,8 +224,6 @@ static int c_show(struct seq_file *m, vo
|
|
seq_printf(m, "CPU revision\t: %d\n\n", MIDR_REVISION(midr));
|
|
}
|
|
|
|
- seq_printf(m, "Hardware\t: BCM2835\n");
|
|
-
|
|
np = of_find_node_by_path("/system");
|
|
if (np) {
|
|
if (!of_property_read_u32(np, "linux,revision", &revision))
|