From: batt Date: Thu, 22 May 2008 19:09:52 +0000 (+0000) Subject: signed-off-by: Paolo Desii X-Git-Tag: 2.0.0~592 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=fbd5d50ab685778dd7ba7529b3f02cfabd14884c;p=bertos.git signed-off-by: Paolo Desii Add support for AT45DB642D. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1342 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/drv/dataflash.c b/bertos/drv/dataflash.c index 0171cabb..c2ba9b07 100644 --- a/bertos/drv/dataflash.c +++ b/bertos/drv/dataflash.c @@ -83,6 +83,14 @@ static const DataflashInfo mem_info[] = .page_cnt = 4096, .read_cmd = DFO_READ_FLASH_MEM_BYTE_D, }, + { + /* AT45DB642D */ + .density_id = 0x0F, + .page_size = 1056, + .page_bits = 11, + .page_cnt = 8192, + .read_cmd = DFO_READ_FLASH_MEM_BYTE_D, + }, /* Add other memories here */ };