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>
This commit is contained in:
Sergey Lapin 2008-08-09 01:39:09 +04:00 committed by Jean-Christophe PLAGNIOL-VILLARD
parent 81091f58f0
commit f77d92a3f5
2 changed files with 15 additions and 2 deletions

View file

@ -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