]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/block: Deprecate the TC58128 block device
authorSamuel Tardieu <sam@rfc1149.net>
Tue, 9 Jan 2024 08:30:53 +0000 (09:30 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 19 Jan 2024 11:28:59 +0000 (12:28 +0100)
The 16MiB flash device is only used by the deprecated shix machine.
Its code it old and unmaintained, and has never been adapted to the
QOM architecture. It still contains debug statements and uses global
variables. It is time to deprecate it.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240109083053.2581588-3-sam@rfc1149.net>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
docs/about/deprecated.rst
hw/block/tc58128.c

index e6a12c90779fe5a7b4d5db0c97bd2f76ec21ab4e..15e39f8bbb9f5484ffcfd83438a6be6c656c7994 100644 (file)
@@ -273,7 +273,7 @@ The Nios II architecture is orphan.
 ''''''''''''''''''''
 
 The machine is no longer in existence and has been long unmaintained
-in QEMU.
+in QEMU. This also holds for the TC51828 16MiB flash that it uses.
 
 Backend options
 ---------------
index d350126b274000a56e88a0ea0f9cc7db47aa49a1..6944cf58fa41deab82e59f5470d4569b9a247424 100644 (file)
@@ -202,6 +202,7 @@ static sh7750_io_device tc58128 = {
 
 int tc58128_init(struct SH7750State *s, const char *zone1, const char *zone2)
 {
+    warn_report_once("The TC58128 flash device is deprecated");
     init_dev(&tc58128_devs[0], zone1);
     init_dev(&tc58128_devs[1], zone2);
     return sh7750_register_io_device(s, &tc58128);