signed-off-by: Paolo Desii <paolo.desii@powersoft.it>
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 22 May 2008 19:09:52 +0000 (19:09 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 22 May 2008 19:09:52 +0000 (19:09 +0000)
Add support for AT45DB642D.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1342 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/dataflash.c

index 0171cabb8f655f81297774d3a38c8ea97056a122..c2ba9b070f1bd4606e7da6d86eaefe45fe4dd84c 100644 (file)
@@ -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 */
 };