You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/07/04 00:20:01 UTC

[nuttx] branch master updated: ramtron.c: add FM25V02A-DGQ

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new cbbeec3183 ramtron.c: add FM25V02A-DGQ
cbbeec3183 is described below

commit cbbeec31831f88cdb9f3a8225407004f6083c3ab
Author: Beat Küng <be...@gmx.net>
AuthorDate: Thu Jun 8 14:27:54 2023 +0200

    ramtron.c: add FM25V02A-DGQ
---
 drivers/mtd/ramtron.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/mtd/ramtron.c b/drivers/mtd/ramtron.c
index b3268f4fb9..21097b2fda 100644
--- a/drivers/mtd/ramtron.c
+++ b/drivers/mtd/ramtron.c
@@ -201,6 +201,18 @@ static const struct ramtron_parts_s g_ramtron_parts[] =
 #ifdef CONFIG_RAMTRON_CHUNKING
     , false,                      /* chunked */
     RAMTRON_EMULATE_PAGE_SIZE     /* chunksize */
+#endif
+  },
+  {
+    "FM25V02A-DGQ",               /* name */
+    0x22,                         /* id1 */
+    0x48,                         /* id2 */
+    32L * 1024L,                  /* size */
+    2,                            /* addr_len */
+    RAMTRON_INIT_CLK_MAX          /* speed */
+#ifdef CONFIG_RAMTRON_CHUNKING
+    , false,                      /* chunked */
+    RAMTRON_EMULATE_PAGE_SIZE     /* chunksize */
 #endif
   },
   {