Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Add LPDDR4X and DDR5. Not decoded yet.
details: https://anonhg.NetBSD.org/src/rev/1ca7baeaafd0
branches: trunk
changeset: 359872:1ca7baeaafd0
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Sat Jan 29 08:14:24 2022 +0000
description:
Add LPDDR4X and DDR5. Not decoded yet.
diffstat:
sys/dev/ic/spdmem.c | 6 ++++--
sys/dev/ic/spdmemreg.h | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r 42c067228739 -r 1ca7baeaafd0 sys/dev/ic/spdmem.c
--- a/sys/dev/ic/spdmem.c Sat Jan 29 07:42:10 2022 +0000
+++ b/sys/dev/ic/spdmem.c Sat Jan 29 08:14:24 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmem.c,v 1.35 2020/03/24 03:47:39 msaitoh Exp $ */
+/* $NetBSD: spdmem.c,v 1.36 2022/01/29 08:14:24 msaitoh Exp $ */
/*
* Copyright (c) 2007 Nicolas Joly
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.35 2020/03/24 03:47:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.36 2022/01/29 08:14:24 msaitoh Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -82,6 +82,8 @@
"DDR4E SDRAM",
"LPDDR3 SDRAM",
"LPDDR4 SDRAM"
+ "LPDDR4X SDRAM",
+ "DDR5 SDRAM",
};
static const char* const spdmem_ddr4_module_types[] = {
diff -r 42c067228739 -r 1ca7baeaafd0 sys/dev/ic/spdmemreg.h
--- a/sys/dev/ic/spdmemreg.h Sat Jan 29 07:42:10 2022 +0000
+++ b/sys/dev/ic/spdmemreg.h Sat Jan 29 08:14:24 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmemreg.h,v 1.4 2015/12/24 14:16:18 msaitoh Exp $ */
+/* $NetBSD: spdmemreg.h,v 1.5 2022/01/29 08:14:24 msaitoh Exp $ */
/*
* Copyright (c) 2007 Paul Goyette
@@ -44,6 +44,8 @@
#define SPDMEM_MEMTYPE_DDR4ESDRAM 0x0E
#define SPDMEM_MEMTYPE_LPDDR3SDRAM 0x0F
#define SPDMEM_MEMTYPE_LPDDR4SDRAM 0x10
+#define SPDMEM_MEMTYPE_LPDDR4XSDRAM 0x11
+#define SPDMEM_MEMTYPE_DDR5SDRAM 0x12
#define SPDMEM_MEMTYPE_RAMBUS 0x11
#define SPDMEM_MEMTYPE_DIRECTRAMBUS 0x01
Home |
Main Index |
Thread Index |
Old Index