aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-10-14 17:05:57 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-10-15 15:16:17 +0100
commit48cbe68670c115d6f0c7e87df6ec5bf9a5228528 (patch)
tree15724e9c110c2adce4a66b6538153661dffcbbf2 /include
parentde63376387bada2da5f5aee778bc07eb1d897c16 (diff)
downloadqemu-48cbe68670c115d6f0c7e87df6ec5bf9a5228528.zip
qemu-48cbe68670c115d6f0c7e87df6ec5bf9a5228528.tar.gz
qemu-48cbe68670c115d6f0c7e87df6ec5bf9a5228528.tar.bz2
hw/block: Remove ecc
The ecc.c code was used only by the PXA2xx and OMAP2 SoC devices, which we have removed, so it is now completely unused. Note that hw/misc/eccmemctl.c does not in fact use any of the code frome ecc.c, so that KConfig dependency was incorrect. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20241003140010.1653808-6-peter.maydell@linaro.org
Diffstat (limited to 'include')
-rw-r--r--include/hw/block/flash.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/hw/block/flash.h b/include/hw/block/flash.h
index b985c82..5fd67f5 100644
--- a/include/hw/block/flash.h
+++ b/include/hw/block/flash.h
@@ -62,17 +62,6 @@ uint32_t nand_getbuswidth(DeviceState *dev);
#define NAND_MFR_HYNIX 0xad
#define NAND_MFR_MICRON 0x2c
-/* ecc.c */
-typedef struct {
- uint8_t cp; /* Column parity */
- uint16_t lp[2]; /* Line parity */
- uint16_t count;
-} ECCState;
-
-uint8_t ecc_digest(ECCState *s, uint8_t sample);
-void ecc_reset(ECCState *s);
-extern const VMStateDescription vmstate_ecc_state;
-
/* m25p80.c */
#define TYPE_M25P80 "m25p80-generic"