sys-apps/edac-utils-0.18-r1: add label for Hawk

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen
2022-01-30 16:42:36 +01:00
parent d52de2552e
commit 3a823e5994
2 changed files with 30 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,6 +18,10 @@ DEPEND="sys-fs/sysfsutils"
RDEPEND="${DEPEND}
sys-apps/dmidecode"
PATCHES=(
"${FILESDIR}"/${P}-mitac-hawk.patch
)
src_prepare() {
default

View File

@@ -0,0 +1,25 @@
From 1c57818ecee186aa47af0342149577df5302c022 Mon Sep 17 00:00:00 2001
From: Fabian Groffen <grobian@gentoo.org>
Date: Sun, 30 Jan 2022 14:49:58 +0100
Subject: [PATCH] etc/labels.db: add MiTAC HAWK layout
This is for an Ampere eMag Hawk 32-core ARMv8 board, which features 8
banks of DDR4 RDIMMs (1DPC).
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
---
src/etc/labels.db | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/etc/labels.db b/src/etc/labels.db
index f915666..63baf43 100644
--- a/src/etc/labels.db
+++ b/src/etc/labels.db
@@ -187,0 +187,7 @@ Vendor: Intel Corporation
+
+Vendor: MiTAC
+ Model: HAWK
+ DIMM 1: 0.0.0; DIMM 8: 0.7.0;
+ DIMM 2: 0.1.0; DIMM 7: 0.6.0;
+ DIMM 3: 0.2.0; DIMM 6: 0.5.0;
+ DIMM 4: 0.3.0; DIMM 5: 0.4.0;