summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2008-06-05 11:06:29 +0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-07-10 22:50:28 +0200
commitc6457e3b8bc79a97381cf7deffa08f7c5a24f86c (patch)
treeb7484c31084984d78738379c0533640111f027cb /include
parent4109df6f75fc00ab7da56d286ba50149a0d16a69 (diff)
downloadu-boot-imx-c6457e3b8bc79a97381cf7deffa08f7c5a24f86c.zip
u-boot-imx-c6457e3b8bc79a97381cf7deffa08f7c5a24f86c.tar.gz
u-boot-imx-c6457e3b8bc79a97381cf7deffa08f7c5a24f86c.tar.bz2
DataFlash AT45DB021 support
Some boards based on AT91SAM926X-EK use smaller DF chips to keep bootstrap, u-boot and its environment, using NAND or other external storage for kernel and rootfs. This patch adds support for small 1024x263 chip. Signed-off-by: Sergey Lapin <slapin@ossfans.org>
Diffstat (limited to 'include')
-rw-r--r--include/dataflash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dataflash.h b/include/dataflash.h
index f20c738..80f0633 100644
--- a/include/dataflash.h
+++ b/include/dataflash.h
@@ -137,6 +137,7 @@ struct dataflash_addr {
/*-------------------------------------------------------------------------------------------------*/
#define AT45DB161 0x2c
+#define AT45DB021 0x14
#define AT45DB321 0x34
#define AT45DB642 0x3c
#define AT45DB128 0x10