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 DDR4 support a bit.



details:   https://anonhg.NetBSD.org/src/rev/a76ee360e0f5
branches:  trunk
changeset: 336907:a76ee360e0f5
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Mar 27 05:33:08 2015 +0000

description:
Add DDR4 support a bit.

diffstat:

 sys/dev/ic/spdmem.c    |  5 +++--
 sys/dev/ic/spdmemreg.h |  3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 9f2e521a9c72 -r a76ee360e0f5 sys/dev/ic/spdmem.c
--- a/sys/dev/ic/spdmem.c       Fri Mar 27 05:32:38 2015 +0000
+++ b/sys/dev/ic/spdmem.c       Fri Mar 27 05:33:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmem.c,v 1.10 2014/04/14 14:30:24 pooka Exp $ */
+/* $NetBSD: spdmem.c,v 1.11 2015/03/27 05:33:08 msaitoh Exp $ */
 
 /*
  * Copyright (c) 2007 Nicolas Joly
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.10 2014/04/14 14:30:24 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.11 2015/03/27 05:33:08 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -76,6 +76,7 @@
        "DDR2 SDRAM FB",
        "DDR2 SDRAM FB Probe",
        "DDR3 SDRAM"
+       "DDR4 SDRAM"
 };
 
 static const char* spdmem_superset_types[] = {
diff -r 9f2e521a9c72 -r a76ee360e0f5 sys/dev/ic/spdmemreg.h
--- a/sys/dev/ic/spdmemreg.h    Fri Mar 27 05:32:38 2015 +0000
+++ b/sys/dev/ic/spdmemreg.h    Fri Mar 27 05:33:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmemreg.h,v 1.1 2010/03/24 00:31:41 pgoyette Exp $ */
+/* $NetBSD: spdmemreg.h,v 1.2 2015/03/27 05:33:08 msaitoh Exp $ */
 
 /*
  * Copyright (c) 2007 Paul Goyette
@@ -40,6 +40,7 @@
 #define        SPDMEM_MEMTYPE_FBDIMM           0x09
 #define        SPDMEM_MEMTYPE_FBDIMM_PROBE     0x0A
 #define        SPDMEM_MEMTYPE_DDR3SDRAM        0x0B
+#define        SPDMEM_MEMTYPE_DDR4SDRAM        0x0C
 
 #define        SPDMEM_MEMTYPE_RAMBUS           0x11
 #define        SPDMEM_MEMTYPE_DIRECTRAMBUS     0x01



Home | Main Index | Thread Index | Old Index