diff options
author | Thomas Huth <thuth@redhat.com> | 2018-07-23 15:21:26 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-07-23 15:21:26 +0100 |
commit | 07bc425ea32dc5d78790c7bd23bffb77fbc727e0 (patch) | |
tree | 01f011d953a51f3c4e77efffd4a9070ec1c14f43 /scripts/tracetool.py | |
parent | 9d2b5a58f85be2d8e129c4b53d6708ecf8796e54 (diff) | |
download | qemu-07bc425ea32dc5d78790c7bd23bffb77fbc727e0.zip qemu-07bc425ea32dc5d78790c7bd23bffb77fbc727e0.tar.gz qemu-07bc425ea32dc5d78790c7bd23bffb77fbc727e0.tar.bz2 |
hw/arm/spitz: Move problematic nand_init() code to realize function
nand_init() does not only create the NAND device, it also realizes
the device with qdev_init_nofail() already. So we must not call
nand_init() from an instance_init function like sl_nand_init(),
otherwise we get superfluous NAND devices in the QOM tree after
introspecting the 'sl-nand' device. So move the nand_init() to the
realize function of 'sl-nand' instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1532006134-7701-1-git-send-email-thuth@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/tracetool.py')
0 files changed, 0 insertions, 0 deletions