]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/mps2.c: Mark internal-only I2C buses as 'full'
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Sep 2021 15:07:25 +0000 (16:07 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Sep 2021 20:01:08 +0000 (21:01 +0100)
commit28e987a7e7edaa3ca7feeac65edca26145df8814
tree5373d8c1615603a150782733ad3a357afb6a1434
parent68e579515fbf32db5deb140c1f86507076f1ab88
hw/arm/mps2.c: Mark internal-only I2C buses as 'full'

The various MPS2 boards implemented in mps2.c have multiple I2C
buses: a bus dedicated to the audio configuration, one for the LCD
touchscreen controller, and two which are connected to the external
Shield expansion connector.  Mark the buses which are used only for
board-internal devices as 'full' so that if the user creates i2c
devices on the commandline without specifying a bus name then they
will be connected to the I2C controller used for the Shield
connector, where guest software will expect them.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210903151435.22379-5-peter.maydell@linaro.org
hw/arm/mps2.c