diff options
author | walimis <walimisdev@gmail.com> | 2012-12-11 11:30:37 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-12-11 11:30:37 +0000 |
commit | 79f5d67e9db35d53b478699393590392f7be03ac (patch) | |
tree | bd6781b94c44260f8662f65550a933e72cfbd051 /s390.ld | |
parent | ee3f095680e4f578f4f1371a90acc20375b48966 (diff) | |
download | hqemu-79f5d67e9db35d53b478699393590392f7be03ac.zip hqemu-79f5d67e9db35d53b478699393590392f7be03ac.tar.gz |
xilinx_zynq: Add one variable to avoid overwriting QSPI bus
commit 7b482bcf xilinx_zynq: added QSPI controller
Adds one QSPI controller, which has two spi buses, one is for
spi0, and another is for spi1. But when initializing the spi1
bus, "dev" has been overwrited by the ssi_create_slave_no_init() function,
so that qdev_get_child_bus() returns NULL and the last two m25p80 flashes
won't be attached to the spi1 bus, but to main-system-bus.
Here we add one variable to avoid overwriting.
Signed-off-by: Liming Wang <walimisdev@gmail.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 's390.ld')
0 files changed, 0 insertions, 0 deletions