]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/block: Drop unused nand.c
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 29 May 2025 16:45:13 +0000 (17:45 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 29 May 2025 16:45:13 +0000 (17:45 +0100)
commite86c1f967a323165d13bcadfad4b92d0d34cdb08
treedbe50566898ab3009acf38c66bdae74d7a797179
parent96778e69a2e391e5dc99d2318e7830695c607795
hw/block: Drop unused nand.c

The nand.c device (TYPE_NAND) is an emulation of a NAND flash memory
chip which was used by the old OMAP boards.  No current QEMU board
uses it, and although techically "-device nand,chip-id=0x6b" doesn't
error out, it's not possible to usefully use it from the command
line because the only interface it has is via calling C functions
like nand_setpins() and nand_setio().

The "config OMAP" stanza (used only by the SX1 board) is the only
thing that does "select NAND" to compile in this code, but the SX1
board doesn't actually use the NAND device.

Remove the NAND device code entirely; this is effectively leftover
cleanup from when we dropped the PXA boards and the OMAP boards
other than the sx1.

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: 20250522142859.3122389-1-peter.maydell@linaro.org
hw/arm/Kconfig
hw/block/Kconfig
hw/block/meson.build
hw/block/nand.c [deleted file]
include/hw/block/flash.h