diff mbox series

[2/3] vexpress64: Enable VIRTIO_MMIO and RTC_PL031 in the base model

Message ID 20230331085813.321590-2-peter.hoyes@arm.com
State Accepted
Commit 3e15be549c64a6672c6688765d17a2312bc7e156
Delegated to: Tom Rini
Headers show
Series [1/3] vexpress64: Use OF_HAS_PRIOR_STAGE for BASE_FVP variant | expand

Commit Message

Peter Hoyes March 31, 2023, 8:58 a.m. UTC
From: Peter Hoyes <Peter.Hoyes@arm.com>

The Arm EBBR (Embedded Base Boot Requirements) require that the time
and basic networking EFI interfaces are available and working, so long
as the hardware has an RTC and network interface.

Arm FVPs typically have a memory-mapped PL031 RTC and a VIRTIO_NET
device defined in the device tree, so "imply" these in the Kconfig for
the FVP base model to simplify creating EBBR-compliant firmware.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
---
 board/armltd/vexpress64/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Tom Rini April 26, 2023, 12:29 p.m. UTC | #1
On Fri, Mar 31, 2023 at 09:58:12AM +0100, Peter Hoyes wrote:

> From: Peter Hoyes <Peter.Hoyes@arm.com>
> 
> The Arm EBBR (Embedded Base Boot Requirements) require that the time
> and basic networking EFI interfaces are available and working, so long
> as the hardware has an RTC and network interface.
> 
> Arm FVPs typically have a memory-mapped PL031 RTC and a VIRTIO_NET
> device defined in the device tree, so "imply" these in the Kconfig for
> the FVP base model to simplify creating EBBR-compliant firmware.
> 
> Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/board/armltd/vexpress64/Kconfig b/board/armltd/vexpress64/Kconfig
index bd15cbeb7e..cf998096e4 100644
--- a/board/armltd/vexpress64/Kconfig
+++ b/board/armltd/vexpress64/Kconfig
@@ -12,8 +12,13 @@  config SYS_CONFIG_NAME
 config VEXPRESS64_BASE_MODEL
 	bool
 	select SEMIHOSTING
+	imply VIRTIO_MMIO
 	select VIRTIO_BLK if VIRTIO_MMIO
 	select VIRTIO_NET if VIRTIO_MMIO
+	select DM_ETH if VIRTIO_NET
+	imply RTC_PL031
+	select DM_RTC if RTC_PL031
+	imply EFI_SET_TIME if DM_RTC
 	select LINUX_KERNEL_IMAGE_HEADER
 	select POSITION_INDEPENDENT