hw/mips: Add dependency MIPS_CPS -> MIPS_ITU

The Inter-Thread Communication Unit (ITU, introduced in commit
34fa7e83e1) 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>
This commit is contained in:
Philippe Mathieu-Daudé 2019-03-10 02:07:58 +01:00
parent 7457b407ed
commit 2321d971b6
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ config LOONGSON3V
config MIPS_CPS
bool
select PTIMER
select MIPS_ITU
config MIPS_BOSTON
bool