summaryrefslogtreecommitdiff
path: root/include/dataflash.h
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2008-08-09 01:39:09 +0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-09 00:15:06 +0200
commitf77d92a3f56d88e63cc02226a1204b3bdbac6961 (patch)
treec512bdc2609401e18cc625f6faf89d882bc64f6c /include/dataflash.h
parent81091f58f0c58ecd26c5b05de2ae20ca6cdb521c (diff)
downloadu-boot-imx-f77d92a3f56d88e63cc02226a1204b3bdbac6961.zip
u-boot-imx-f77d92a3f56d88e63cc02226a1204b3bdbac6961.tar.gz
u-boot-imx-f77d92a3f56d88e63cc02226a1204b3bdbac6961.tar.bz2
DataFlash: AT45DB021 fix and AT45DB081 support
Fix for page size of AT45DB021. Also adding bigger AT45DB081 which comes with some newer boards. Signed-off-by: Sergey Lapin <slapin@ossfans.org>
Diffstat (limited to 'include/dataflash.h')
-rw-r--r--include/dataflash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dataflash.h b/include/dataflash.h
index 80f0633..de04139 100644
--- a/include/dataflash.h
+++ b/include/dataflash.h
@@ -135,9 +135,9 @@ struct dataflash_addr {
int cs;
};
/*-------------------------------------------------------------------------------------------------*/
-
#define AT45DB161 0x2c
#define AT45DB021 0x14
+#define AT45DB081 0x24
#define AT45DB321 0x34
#define AT45DB642 0x3c
#define AT45DB128 0x10