]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/mps2-tz.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)
commit68e579515fbf32db5deb140c1f86507076f1ab88
treeed952351f770726d06dda9800893abc790264a69
parente6f79acd86ed06f5da63122d59ae69cf1fb490f5
hw/arm/mps2-tz.c: Mark internal-only I2C buses as 'full'

The various MPS2 boards have multiple I2C buses: typically a bus
dedicated to the audio configuration, one for the LCD touchscreen
controller, one for a DDR4 EEPROM, 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-4-peter.maydell@linaro.org
hw/arm/mps2-tz.c