hw/mips: Add dependency MIPS_CPS -> MIPS_ITU
commit2321d971b6f0a87507d6ca44055864158763309b
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 10 Mar 2019 01:07:58 +0000 (10 02:07 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 20 Jul 2021 13:18:39 +0000 (20 15:18 +0200)
treec2527601b61b71bb2f22b6984e1c1a57df03615a
parent7457b407edd6e8555e4b46488aab2f13959fccf8
hw/mips: Add dependency MIPS_CPS -> MIPS_ITU

The Inter-Thread Communication Unit (ITU, introduced in commit
34fa7e83e11) is part of the Coherent Processing System (CPS),
as describe in commit 408294352ad:

    Make ITU available in the system if CPU supports multithreading
    and is part of CPS.

Have CPS select ITU in Kconfig to avoid the following build failure:

  /usr/bin/ld: libqemu-mips64el-softmmu.fa.p/hw_mips_cps.c.o: in function `mips_cps_realize':
  hw/mips/cps.c:104: undefined reference to `mips_itu_get_tag_region'

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190311005618.19007-5-philmd@redhat.com>
hw/mips/Kconfig