Skip to content

Commit

Permalink
hw/block: Deprecate the TC58128 block device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
samueltardieu authored and philmd committed Jan 19, 2024
1 parent 322b038 commit c8cdec7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/about/deprecated.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------
Expand Down
1 change: 1 addition & 0 deletions hw/block/tc58128.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c8cdec7

Please sign in to comment.