comparison src/cs/drivers/drv_app/ffs/board/dev.c @ 624:012028896cfb

FFS dev.c, Leonardo target: Fujitsu MB84VF5F5F4J2 #if 0'ed out The FFS code we got from TI/Openmoko had a stanza for "Fujitsu MB84VF5F5F4J2 stacked device", using a fake device ID code that would need to be patched manually into cfgffs.c (suppressing and overriding autodetection) and using an FFS base address in the nCS2 bank, indicating that this FFS config was probably meant for the MCP version of Leonardo which allows for 16 MiB flash with a second bank on nCS2. We previously had this FFS config stanza conditionalized under CONFIG_TARGET_LEONARDO because the base address contained therein is invalid for other targets, but now that we actually have a Leonardo build target in FC Magnetite, I realize that the better approach is to #if 0 out this stanza altogether: it is already non-functional because it uses a fake device ID code, thus it is does not add support for more Leonardo board variants, instead it is just noise.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 22 Dec 2019 21:24:29 +0000
parents 0a845c97b8b4
children cab2f315827e
comparison
equal deleted inserted replaced
623:df3649549840 624:012028896cfb
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 },