summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2008-06-22 17:06:41 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2008-06-22 17:06:41 +0000
commitdb52c58e06e250e2b44dfecf18b3646eb00c7f6a (patch)
tree1e2ffc47f73943201415adb8242967cd94ce8ea5 /flashchips.c
parentf1614e8d1c66d4787d9510a54db0dbe2644fe134 (diff)
downloadast2050-flashrom-db52c58e06e250e2b44dfecf18b3646eb00c7f6a.zip
ast2050-flashrom-db52c58e06e250e2b44dfecf18b3646eb00c7f6a.tar.gz
Remove dead M-Systems Disk on Chip code
DOC support has been disabled by default for many years. The write function does nothing but print text. It has a call to write_page_md2802() commented out, but that function does not exist. This is dead code with ugly #ifdefs. Updates README to reflect that there was a time when there was code, but it didn't work. Removes M-Systems #defines and also includes svn rm msys_doc.* Corresponding to flashrom svn r269 and coreboot v2 svn r3382. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/flashchips.c b/flashchips.c
index 8a0a477..d688b28 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -21,9 +21,6 @@
*/
#include "flash.h"
-#ifndef DISABLE_DOC
-#include "msys_doc.h"
-#endif
/**
* List of supported flash ROM chips.
@@ -58,9 +55,6 @@ struct flashchip flashchips[] = {
{"Macronix", "MX25L1605", MX_ID, MX_25L1605, 2048, 256, TEST_UNTESTED, probe_spi_rdid, spi_chip_erase_c7, spi_chip_write, spi_chip_read},
{"Macronix", "MX25L3205", MX_ID, MX_25L3205, 4096, 256, TEST_OK_PREW, probe_spi_rdid, spi_chip_erase_c7, spi_chip_write, spi_chip_read},
{"Macronix", "MX29F002", MX_ID, MX_29F002, 256, 64 * 1024, TEST_UNTESTED, probe_29f002, erase_29f002, write_29f002},
-#ifndef DISABLE_DOC
- {"M-Systems", "MD-2802", MSYSTEMS_ID, MSYSTEMS_MD2802, 8, 8 * 1024, TEST_UNTESTED, probe_md2802, erase_md2802, write_md2802, read_md2802},
-#endif
{"PMC", "Pm25LV010", PMC_ID, PMC_25LV010, 128, 256, TEST_UNTESTED, probe_spi_rdid, spi_chip_erase_c7, spi_chip_write, spi_chip_read},
{"PMC", "Pm25LV016B", PMC_ID, PMC_25LV016B, 2048, 256, TEST_UNTESTED, probe_spi_rdid, spi_chip_erase_c7, spi_chip_write, spi_chip_read},
{"PMC", "Pm25LV020", PMC_ID, PMC_25LV020, 256, 256, TEST_UNTESTED, probe_spi_rdid, spi_chip_erase_c7, spi_chip_write, spi_chip_read},
OpenPOWER on IntegriCloud