diff mbox series

[v2,01/12] npcm7xx: Add config symbol

Message ID 20200611223016.259837-2-hskinnemoen@google.com (mailing list archive)
State New, archived
Headers show
Series Add Nuvoton NPCM730/NPCM750 SoCs and two BMC machines | expand

Commit Message

Havard Skinnemoen June 11, 2020, 10:30 p.m. UTC
Add a config symbol for the NPCM7xx BMC SoC family that subsequent
patches can use in Makefiles.

Change-Id: I6e4d5c58716cb6fe4ea5d06f148beeafda55f9a5
Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com>
---
 default-configs/arm-softmmu.mak | 1 +
 hw/arm/Kconfig                  | 8 ++++++++
 2 files changed, 9 insertions(+)

Comments

Philippe Mathieu-Daudé June 12, 2020, 1:35 p.m. UTC | #1
Hi Havard

On 6/12/20 12:30 AM, Havard Skinnemoen wrote:
> Add a config symbol for the NPCM7xx BMC SoC family that subsequent
> patches can use in Makefiles.
> 
> Change-Id: I6e4d5c58716cb6fe4ea5d06f148beeafda55f9a5

What it this Change-Id tag used for?

> Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
> Acked-by: Joel Stanley <joel@jms.id.au>
> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com>
> ---
>  default-configs/arm-softmmu.mak | 1 +
>  hw/arm/Kconfig                  | 8 ++++++++
>  2 files changed, 9 insertions(+)
Havard Skinnemoen June 12, 2020, 4:23 p.m. UTC | #2
Hi Philippe,

On Fri, Jun 12, 2020 at 6:35 AM Philippe Mathieu-Daudé <philmd@redhat.com>
wrote:

> Hi Havard
>
> On 6/12/20 12:30 AM, Havard Skinnemoen wrote:
> > Add a config symbol for the NPCM7xx BMC SoC family that subsequent
> > patches can use in Makefiles.
> >
> > Change-Id: I6e4d5c58716cb6fe4ea5d06f148beeafda55f9a5
>
> What it this Change-Id tag used for?
>

It's used by Gerrit code review, which we use for reviews internally
(between Google and Nuvoton). I meant to remove it before mailing the
patches, sorry.
diff mbox series

Patch

diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index 8fc09a4a51..9a94ebd0be 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -27,6 +27,7 @@  CONFIG_GUMSTIX=y
 CONFIG_SPITZ=y
 CONFIG_TOSA=y
 CONFIG_Z2=y
+CONFIG_NPCM7XX=y
 CONFIG_COLLIE=y
 CONFIG_ASPEED_SOC=y
 CONFIG_NETDUINO2=y
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 9afa6eee79..3738c1f5cd 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -354,6 +354,14 @@  config XLNX_VERSAL
     select VIRTIO_MMIO
     select UNIMP
 
+config NPCM7XX
+    bool
+    select A9MPCORE
+    select ARM_GIC
+    select PL310  # cache controller
+    select SERIAL
+    select UNIMP
+
 config FSL_IMX25
     bool
     select IMX