Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/spi Add support for M25P16, tested on Raspberry PI w...



details:   https://anonhg.NetBSD.org/src/rev/4887fe3152b4
branches:  trunk
changeset: 790909:4887fe3152b4
user:      rkujawa <rkujawa%NetBSD.org@localhost>
date:      Sat Oct 26 15:18:21 2013 +0000

description:
Add support for M25P16, tested on Raspberry PI with Digilent PmodSF.

diffstat:

 sys/dev/spi/m25p.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bc9139c44b4b -r 4887fe3152b4 sys/dev/spi/m25p.c
--- a/sys/dev/spi/m25p.c        Sat Oct 26 10:48:19 2013 +0000
+++ b/sys/dev/spi/m25p.c        Sat Oct 26 15:18:21 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: m25p.c,v 1.3 2013/04/21 08:38:16 rkujawa Exp $ */
+/* $NetBSD: m25p.c,v 1.4 2013/10/26 15:18:21 rkujawa Exp $ */
 
 /*-
  * Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: m25p.c,v 1.3 2013/04/21 08:38:16 rkujawa Exp $");
+__KERNEL_RCSID(0, "$NetBSD: m25p.c,v 1.4 2013/10/26 15:18:21 rkujawa Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -92,6 +92,7 @@
        uint16_t        mhz;
 } m25p_infos[] = {
        { 0x16, 0x20, 0x2017, "STMicro M25P64", 8192, 64 },     /* 64Mbit */
+       { 0x14, 0x20, 0x2015, "STMicro M25P16", 2048, 64 },     /* 16Mbit */
        { 0x12, 0x20, 0x2013, "STMicro M25P40", 512, 64 },      /* 4Mbit */
        { 0xc0, 0x20, 0x7117, "STMicro M25PX64", 8192, 64 },    /* 64Mbit */
        { 0x0, 0x20, 0xBB18, "Numonyx N25Q128", 16384, 64 },    /* 128Mbit */



Home | Main Index | Thread Index | Old Index