mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
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))
|