summaryrefslogtreecommitdiff
path: root/util/flashrom/flashchips.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2008-06-22 17:06:41 +0000
committerStefan Reinauer <stepan@openbios.org>2008-06-22 17:06:41 +0000
commitb05b6a2555e04e3af2f62014d373aef64e0e469f (patch)
treec4005ea6db7fc03894114846ff8b4616f0e320c6 /util/flashrom/flashchips.c
parentfb73fa1bcb3ac3579ad786911c09f05950c8b3a8 (diff)
downloadcoreboot-b05b6a2555e04e3af2f62014d373aef64e0e469f.tar.xz
flashrom: 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.* Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3382 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flashchips.c')
-rw-r--r--util/flashrom/flashchips.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index 8a0a4773b5..d688b283db 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/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},