diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-04-18 16:12:37 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-04-18 16:12:37 -0600 |
commit | b5f93d94197a1cd6a57be8ebfac1222dd1b50679 (patch) | |
tree | ea5bbbe8670a00055cb5dc761ea9be5fbd9855b1 /nuttx/drivers/mtd | |
parent | 7ed378b0442b21647f3ee1b41a852a7e4e100f8e (diff) | |
download | px4-nuttx-b5f93d94197a1cd6a57be8ebfac1222dd1b50679.tar.gz px4-nuttx-b5f93d94197a1cd6a57be8ebfac1222dd1b50679.tar.bz2 px4-nuttx-b5f93d94197a1cd6a57be8ebfac1222dd1b50679.zip |
Add support for the FM25V01 part
Diffstat (limited to 'nuttx/drivers/mtd')
-rw-r--r-- | nuttx/drivers/mtd/ramtron.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/drivers/mtd/ramtron.c b/nuttx/drivers/mtd/ramtron.c index 34273bccf..71e076934 100644 --- a/nuttx/drivers/mtd/ramtron.c +++ b/nuttx/drivers/mtd/ramtron.c @@ -3,7 +3,7 @@ * Driver for SPI-based RAMTRON NVRAM Devices FM25V10 and others (not tested) * * Copyright (C) 2011 Uros Platise. All rights reserved. - * Copyright (C) 2009-2010, 2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2010, 2012-2013 Gregory Nutt. All rights reserved. * Author: Uros Platise <uros.platise@isotel.eu> * Gregory Nutt <gnutt@nuttx.org> * @@ -162,6 +162,14 @@ struct ramtron_dev_s static struct ramtron_parts_s ramtron_parts[] = { { + "FM25V01", /* name */ + 0x21, /* id1 */ + 0x00, /* id2 */ + 16L*1024L, /* size */ + 2, /* addr_len */ + 40000000 /* speed */ + }, + { "FM25V02", /* name */ 0x22, /* id1 */ 0x00, /* id2 */ |