diff options
author | Thomas Huth <thuth@redhat.com> | 2018-10-08 14:39:42 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-11-08 12:04:40 +1100 |
commit | 0e947a89ce5911ccc92972e4057dfe7d0643e8f7 (patch) | |
tree | ba0bbc9795430f75980419bc021fe59988ccc7c3 /include | |
parent | 73785b329e12bddae32201e4e1d84e0909c21364 (diff) | |
download | qemu-0e947a89ce5911ccc92972e4057dfe7d0643e8f7.zip qemu-0e947a89ce5911ccc92972e4057dfe7d0643e8f7.tar.gz qemu-0e947a89ce5911ccc92972e4057dfe7d0643e8f7.tar.bz2 |
hw/ppc/spapr_rng: Introduce CONFIG_SPAPR_RNG switch for spapr_rng.c
The spapr-rng device is suboptimal when compared to virtio-rng, so
users might want to disable it in their builds. Thus let's introduce
a proper CONFIG switch to allow us to compile QEMU without this device.
The function spapr_rng_populate_dt is required for linking, so move it
to a different location.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/ppc/spapr.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index ad4d7cf..0805ad8 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -745,8 +745,6 @@ int spapr_rtc_import_offset(sPAPRRTCState *rtc, int64_t legacy_offset); #define TYPE_SPAPR_RNG "spapr-rng" -int spapr_rng_populate_dt(void *fdt); - #define SPAPR_MEMORY_BLOCK_SIZE (1 << 28) /* 256MB */ /* |