blob: cf998096e45fa3c4646482de3a9a3146dfbd27be [file] [log] [blame]
Andre Przywarafac7fc42022-03-04 16:30:09 +00001if ARCH_VEXPRESS64
Linus Walleijffc10372015-01-23 14:41:10 +01002
3config SYS_BOARD
4 default "vexpress64"
5
6config SYS_VENDOR
7 default "armltd"
8
9config SYS_CONFIG_NAME
Peter Hoyes17fe55f2021-11-11 09:26:00 +000010 default "vexpress_aemv8"
Linus Walleijffc10372015-01-23 14:41:10 +010011
Peter Hoyes8d78a6b2022-03-04 16:30:18 +000012config VEXPRESS64_BASE_MODEL
13 bool
Andre Przywarafac7fc42022-03-04 16:30:09 +000014 select SEMIHOSTING
Peter Hoyes3e15be52023-03-31 09:58:12 +010015 imply VIRTIO_MMIO
Andre Przywara58650382022-03-04 16:30:13 +000016 select VIRTIO_BLK if VIRTIO_MMIO
17 select VIRTIO_NET if VIRTIO_MMIO
Peter Hoyes3e15be52023-03-31 09:58:12 +010018 select DM_ETH if VIRTIO_NET
19 imply RTC_PL031
20 select DM_RTC if RTC_PL031
21 imply EFI_SET_TIME if DM_RTC
Andre Przywarac0fce922022-03-04 16:30:11 +000022 select LINUX_KERNEL_IMAGE_HEADER
23 select POSITION_INDEPENDENT
Peter Hoyes8d78a6b2022-03-04 16:30:18 +000024
25choice
26 prompt "VExpress64 board variant"
27
28config TARGET_VEXPRESS64_BASE_FVP
29 bool "Support Versatile Express ARMv8a FVP BASE model"
30 select VEXPRESS64_BASE_MODEL
Peter Hoyes3635df62023-03-31 09:58:11 +010031 imply OF_HAS_PRIOR_STAGE
Andre Przywarafac7fc42022-03-04 16:30:09 +000032
Peter Hoyes8d78a6b2022-03-04 16:30:18 +000033config TARGET_VEXPRESS64_BASER_FVP
34 bool "Support Versatile Express ARMv8r64 FVP BASE model"
35 select VEXPRESS64_BASE_MODEL
36 imply OF_HAS_PRIOR_STAGE
37
Andre Przywarafac7fc42022-03-04 16:30:09 +000038config TARGET_VEXPRESS64_JUNO
39 bool "Support Versatile Express Juno Development Platform"
Andre Przywara58650382022-03-04 16:30:13 +000040 select PCIE_ECAM_GENERIC if PCI
41 select SATA_SIL
42 select SMC911X if DM_ETH
43 select SMC911X_32_BIT if SMC911X
44 select CMD_USB if USB
45 select USB_EHCI_HCD if USB
46 select USB_EHCI_GENERIC if USB
47 select USB_OHCI_HCD if USB
48 select USB_OHCI_GENERIC if USB
Andre Przywarafac7fc42022-03-04 16:30:09 +000049 imply OF_HAS_PRIOR_STAGE
50
51endchoice
52
Andre Przywarab3270e92020-04-27 19:18:01 +010053config JUNO_DTB_PART
54 string "NOR flash partition holding DTB"
55 default "board.dtb"
56 help
57 The ARM partition name in the NOR flash memory holding the
58 device tree blob to configure U-Boot.
59
Andre Przywarac0fce922022-03-04 16:30:11 +000060config LNX_KRNL_IMG_TEXT_OFFSET_BASE
Simon Glass98463902022-10-20 18:22:39 -060061 default TEXT_BASE
Andre Przywarac0fce922022-03-04 16:30:11 +000062
Simon Glass98463902022-10-20 18:22:39 -060063config TEXT_BASE
Andre Przywara58650382022-03-04 16:30:13 +000064 default 0x88000000 if TARGET_VEXPRESS64_BASE_FVP
65 default 0xe0000000 if TARGET_VEXPRESS64_JUNO
Peter Hoyes8d78a6b2022-03-04 16:30:18 +000066 default 0x00001000 if TARGET_VEXPRESS64_BASER_FVP
Andre Przywara58650382022-03-04 16:30:13 +000067
68config SYS_MALLOC_LEN
69 default 0x810000 if TARGET_VEXPRESS64_JUNO
70 default 0x840000 if TARGET_VEXPRESS64_BASE_FVP
71
72config SYS_MALLOC_F_LEN
73 default 0x2000
74
75config SYS_LOAD_ADDR
Peter Hoyes8d78a6b2022-03-04 16:30:18 +000076 default 0x10000000 if TARGET_VEXPRESS64_BASER_FVP
Andre Przywara58650382022-03-04 16:30:13 +000077 default 0x90000000
78
79config ENV_ADDR
80 default 0x0BFC0000 if TARGET_VEXPRESS64_JUNO
81 default 0x0FFC0000 if TARGET_VEXPRESS64_BASE_FVP
Peter Hoyes8d78a6b2022-03-04 16:30:18 +000082 default 0x8FFC0000 if TARGET_VEXPRESS64_BASER_FVP
Andre Przywara58650382022-03-04 16:30:13 +000083
84config ENV_SIZE
85 default 0x10000 if TARGET_VEXPRESS64_JUNO
86 default 0x40000
87
88config ENV_SECT_SIZE
89 default 0x10000 if TARGET_VEXPRESS64_JUNO
90 default 0x40000
91
Linus Walleijffc10372015-01-23 14:41:10 +010092endif