mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Patches for RK356X, RK3576 and RK3588 are placed in a 'rockchip' folder under the Linux package dir. Boards use a common aarch64 arch defconfig. Patches for RK3288, RK3328 and RK3399 are moved to a 'rockchip-old' folder under the Linux package dir. Boards continue to use device level 6.16.y defconfigs to ensure all drivers are present, except for RK3288 which has been moved to the project level folder to be the common arm arch defconfig. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 1efb0ab46aeddce29687b942b118a5338d249c61 Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Sat, 13 Apr 2019 05:45:18 +0000
|
|
Subject: [PATCH 001/108] LOCAL: arm64: fix Kodi sysinfo CPU information
|
|
|
|
This allows the CPU information to show in the Kodi sysinfo screen, e.g.
|
|
|
|
"ARMv8 Processor rev 4 (v81)" on Amlogic devices
|
|
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
arch/arm64/kernel/cpuinfo.c | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c
|
|
index ba834909a28b..4384c894bb0f 100644
|
|
--- a/arch/arm64/kernel/cpuinfo.c
|
|
+++ b/arch/arm64/kernel/cpuinfo.c
|
|
@@ -223,9 +223,8 @@ static int c_show(struct seq_file *m, void *v)
|
|
* "processor". Give glibc what it expects.
|
|
*/
|
|
seq_printf(m, "processor\t: %d\n", cpu);
|
|
- if (compat)
|
|
- seq_printf(m, "model name\t: ARMv8 Processor rev %d (%s)\n",
|
|
- MIDR_REVISION(midr), COMPAT_ELF_PLATFORM);
|
|
+ seq_printf(m, "model name\t: ARMv8 Processor rev %d (%s)\n",
|
|
+ MIDR_REVISION(midr), COMPAT_ELF_PLATFORM);
|
|
|
|
seq_printf(m, "BogoMIPS\t: %lu.%02lu\n",
|
|
loops_per_jiffy / (500000UL/HZ),
|
|
--
|
|
2.34.1
|
|
|