qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 5/5] ppc: Express dependencies of the embedd


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH 5/5] ppc: Express dependencies of the embedded machines with kconfig
Date: Wed, 30 Jan 2019 11:18:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

On 30/01/19 10:43, Thomas Huth wrote:
> This makes it much easier if the users want to disable some of
> the embedded machines for their builds.
> 
> Cc: Edgar E. Iglesias <address@hidden>
> Signed-off-by: Thomas Huth <address@hidden>

Reviewed-by: Paolo Bonzini <address@hidden>

> ---
>  default-configs/ppc-softmmu.mak | 18 ++++--------------
>  hw/ppc/Kconfig                  | 12 ++++++++++++
>  2 files changed, 16 insertions(+), 14 deletions(-)
> 
> diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak
> index 5265d8a..5192aca 100644
> --- a/default-configs/ppc-softmmu.mak
> +++ b/default-configs/ppc-softmmu.mak
> @@ -1,27 +1,17 @@
>  # Default configuration for ppc-softmmu
>  
> -CONFIG_PCI=y
>  CONFIG_PCI_DEVICES=y
> -CONFIG_ISA_BUS=y
>  CONFIG_TEST_DEVICES=y
>  
> -# For embedded PPCs:
> -CONFIG_PPC4XX=y
> -CONFIG_M48T59=y
> +# FIXME: CONFIG_SERIAL is currently still required to link all of the
> +# ppc machines (due to the usage of serial_mm_init() in ppc405_uc.c).
>  CONFIG_SERIAL=y
> -CONFIG_OPENPIC=y
> -CONFIG_PPCE500_PCI=y
> -CONFIG_PFLASH_CFI01=y
> -CONFIG_PFLASH_CFI02=y
> -CONFIG_XILINX=y
> -CONFIG_XILINX_ETHLITE=y
> +
> +# For embedded PPCs:
>  CONFIG_E500=y
> -CONFIG_PLATFORM_BUS=y
> -CONFIG_ETSEC=y
>  CONFIG_PPC405=y
>  CONFIG_PPC440=y
>  CONFIG_VIRTEX=y
> -CONFIG_PCI_EXPRESS=y
>  
>  # For Sam460ex
>  CONFIG_SAM460EX=y
> diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
> index 8bd25ed..ab9b828 100644
> --- a/hw/ppc/Kconfig
> +++ b/hw/ppc/Kconfig
> @@ -18,9 +18,14 @@ config POWERNV
>  
>  config PPC405
>      bool
> +    select M48T59
> +    select PFLASH_CFI02
> +    select PPC4XX
>  
>  config PPC440
>      bool
> +    select PCI_EXPRESS
> +    select PPC4XX
>  
>  config PPC4XX
>      bool
> @@ -69,9 +74,16 @@ config MAC_NEWWORLD
>  
>  config E500
>      bool
> +    select ETSEC
> +    select OPENPIC
> +    select PLATFORM_BUS
> +    select PPCE500_PCI
>  
>  config VIRTEX
>      bool
> +    select PFLASH_CFI01
> +    select XILINX
> +    select XILINX_ETHLITE
>  
>  config MAC_DBDMA
>      bool
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]