FreeCalypso > hg > fc-selenite
comparison src/cs/drivers/drv_app/ffs/board/dev.c @ 179:2a9935250c95
src/cs: sync with Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 04 Jan 2020 21:38:55 +0000 |
parents | 7290e92f71a9 |
children | d05fb947b50d |
comparison
equal
deleted
inserted
replaced
178:42edfb87ae0f | 179:2a9935250c95 |
---|---|
124 { 0x700000, 18 }, | 124 { 0x700000, 18 }, |
125 { 0x740000, 18 }, | 125 { 0x740000, 18 }, |
126 { 0x780000, 18 }, | 126 { 0x780000, 18 }, |
127 { 0x7C0000, 18 } | 127 { 0x7C0000, 18 } |
128 }; | 128 }; |
129 #endif | 129 |
130 | |
131 #if defined(CONFIG_TARGET_LEONARDO) || defined(CONFIG_TARGET_PIRELLI) || \ | |
132 defined(CONFIG_TARGET_FCFAM) | |
133 // 128x64kb | 130 // 128x64kb |
134 static const struct block_info_s flash_128x64[] = | 131 static const struct block_info_s flash_128x64[] = |
135 { | 132 { |
136 { 0x00000, 16 }, | 133 { 0x00000, 16 }, |
137 { 0x10000, 16 }, | 134 { 0x10000, 16 }, |
545 // Fujitsu 84VF5F5F4J2, | 542 // Fujitsu 84VF5F5F4J2, |
546 // Multi-id device: 0x227E, 0x2202, 0x2201. Converted to 0x0201 | 543 // Multi-id device: 0x227E, 0x2202, 0x2201. Converted to 0x0201 |
547 { &flash_16x64[0], (char *) 0x700000, MANUFACT_FUJITSU, 0x0201, | 544 { &flash_16x64[0], (char *) 0x700000, MANUFACT_FUJITSU, 0x0201, |
548 FFS_DRIVER_AMD_SB, 15 }, | 545 FFS_DRIVER_AMD_SB, 15 }, |
549 | 546 |
550 #ifdef CONFIG_TARGET_LEONARDO | 547 #if 0 |
551 // Fujitsu MB84VF5F5F4J2 stacked device. Using the 2nd sub device | 548 // Fujitsu MB84VF5F5F4J2 stacked device. Using the 2nd sub device |
552 // The 8x8 are located both in top and bottom, thus only 126 | 549 // The 8x8 are located both in top and bottom, thus only 126 |
553 // blocks are used. | 550 // blocks are used. |
554 { &flash_128x64[0], (char *) 0x1810000, MANUFACT_FUJITSU, 0xB496, | 551 { &flash_128x64[0], (char *) 0x1810000, MANUFACT_FUJITSU, 0xB496, |
555 FFS_DRIVER_AMD_SB, 126 }, | 552 FFS_DRIVER_AMD_SB, 126 }, |