aboutsummaryrefslogtreecommitdiff
path: root/hw/block
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2024-01-09 09:30:53 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-19 12:28:59 +0100
commitc8cdec74e6214d52f1924f9db09cab8c2c4ad150 (patch)
tree63da9e5ce9d30259a4a87a6d0c5a05b755c1efdc /hw/block
parent322b038c9411bae0c9f518fe1cb55934ac4e1a67 (diff)
downloadqemu-c8cdec74e6214d52f1924f9db09cab8c2c4ad150.zip
qemu-c8cdec74e6214d52f1924f9db09cab8c2c4ad150.tar.gz
qemu-c8cdec74e6214d52f1924f9db09cab8c2c4ad150.tar.bz2
hw/block: Deprecate the TC58128 block device
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>
Diffstat (limited to 'hw/block')
-rw-r--r--hw/block/tc58128.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/block/tc58128.c b/hw/block/tc58128.c
index d350126..6944cf5 100644
--- a/hw/block/tc58128.c
+++ b/hw/block/tc58128.c
@@ -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);