diff mbox series

hw/arm/Kconfig: ARM_V7M depends on PTIMER

Message ID 20201104103343.30392-1-drjones@redhat.com
State Accepted
Commit 9ad5f6b05f181b36bc368e2bf60b1548d2937667
Headers show
Series hw/arm/Kconfig: ARM_V7M depends on PTIMER | expand

Commit Message

Andrew Jones Nov. 4, 2020, 10:33 a.m. UTC
commit 32bd322a0134 ("hw/timer/armv7m_systick: Rewrite to use ptimers")
changed armv7m_systick to build on ptimers. Make sure we have ptimers
in the build when building armv7m_systick.

Signed-off-by: Andrew Jones <drjones@redhat.com>
---
 hw/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Philippe Mathieu-Daudé Nov. 4, 2020, 10:35 a.m. UTC | #1
On 11/4/20 11:33 AM, Andrew Jones wrote:
> commit 32bd322a0134 ("hw/timer/armv7m_systick: Rewrite to use ptimers")
> changed armv7m_systick to build on ptimers. Make sure we have ptimers
> in the build when building armv7m_systick.
> 
> Signed-off-by: Andrew Jones <drjones@redhat.com>
> ---
>  hw/arm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Peter Maydell Nov. 4, 2020, 5:57 p.m. UTC | #2
On Wed, 4 Nov 2020 at 10:35, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>
> On 11/4/20 11:33 AM, Andrew Jones wrote:
> > commit 32bd322a0134 ("hw/timer/armv7m_systick: Rewrite to use ptimers")
> > changed armv7m_systick to build on ptimers. Make sure we have ptimers
> > in the build when building armv7m_systick.
> >
> > Signed-off-by: Andrew Jones <drjones@redhat.com>
> > ---
> >  hw/arm/Kconfig | 1 +
> >  1 file changed, 1 insertion(+)
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



Applied to target-arm.next, thanks.

-- PMM
diff mbox series

Patch

diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index fdf4464b9484..7d5d89e1acf9 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -291,6 +291,7 @@  config ZYNQ
 
 config ARM_V7M
     bool
+    select PTIMER
 
 config ALLWINNER_A10
     bool