blob: 5616e223a90ab4974149db45db7cc37eaaa3ea17 [file] [log] [blame]
Andre Przywarab33739f2022-03-04 16:30:09 +00001if ARCH_VEXPRESS64
Linus Walleijc5822502015-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 Hoyes32860372021-11-11 09:26:00 +000010 default "vexpress_aemv8"
Linus Walleijc5822502015-01-23 14:41:10 +010011
Peter Hoyes3ca0ea02022-03-04 16:30:18 +000012config VEXPRESS64_BASE_MODEL
13 bool
Andre Przywarab33739f2022-03-04 16:30:09 +000014 select SEMIHOSTING
Andre Przywara9fd5ec52022-03-04 16:30:13 +000015 select VIRTIO_BLK if VIRTIO_MMIO
16 select VIRTIO_NET if VIRTIO_MMIO
Andre Przywara395e9a92022-03-04 16:30:11 +000017 select LINUX_KERNEL_IMAGE_HEADER
18 select POSITION_INDEPENDENT
Peter Hoyes3ca0ea02022-03-04 16:30:18 +000019
20choice
21 prompt "VExpress64 board variant"
22
23config TARGET_VEXPRESS64_BASE_FVP
24 bool "Support Versatile Express ARMv8a FVP BASE model"
25 select VEXPRESS64_BASE_MODEL
Andre Przywara395e9a92022-03-04 16:30:11 +000026 select OF_BOARD
Andre Przywarab33739f2022-03-04 16:30:09 +000027
Peter Hoyes3ca0ea02022-03-04 16:30:18 +000028config TARGET_VEXPRESS64_BASER_FVP
29 bool "Support Versatile Express ARMv8r64 FVP BASE model"
30 select VEXPRESS64_BASE_MODEL
31 imply OF_HAS_PRIOR_STAGE
32
Andre Przywarab33739f2022-03-04 16:30:09 +000033config TARGET_VEXPRESS64_JUNO
34 bool "Support Versatile Express Juno Development Platform"
Andre Przywara9fd5ec52022-03-04 16:30:13 +000035 select PCIE_ECAM_GENERIC if PCI
36 select SATA_SIL
37 select SMC911X if DM_ETH
38 select SMC911X_32_BIT if SMC911X
39 select CMD_USB if USB
40 select USB_EHCI_HCD if USB
41 select USB_EHCI_GENERIC if USB
42 select USB_OHCI_HCD if USB
43 select USB_OHCI_GENERIC if USB
Andre Przywarab33739f2022-03-04 16:30:09 +000044 imply OF_HAS_PRIOR_STAGE
45
46endchoice
47
Andre Przywara94504f42020-04-27 19:18:01 +010048config JUNO_DTB_PART
49 string "NOR flash partition holding DTB"
50 default "board.dtb"
51 help
52 The ARM partition name in the NOR flash memory holding the
53 device tree blob to configure U-Boot.
54
Andre Przywara395e9a92022-03-04 16:30:11 +000055config LNX_KRNL_IMG_TEXT_OFFSET_BASE
Simon Glass72cc5382022-10-20 18:22:39 -060056 default TEXT_BASE
Andre Przywara395e9a92022-03-04 16:30:11 +000057
Simon Glass72cc5382022-10-20 18:22:39 -060058config TEXT_BASE
Andre Przywara9fd5ec52022-03-04 16:30:13 +000059 default 0x88000000 if TARGET_VEXPRESS64_BASE_FVP
60 default 0xe0000000 if TARGET_VEXPRESS64_JUNO
Peter Hoyes3ca0ea02022-03-04 16:30:18 +000061 default 0x00001000 if TARGET_VEXPRESS64_BASER_FVP
Andre Przywara9fd5ec52022-03-04 16:30:13 +000062
63config SYS_MALLOC_LEN
64 default 0x810000 if TARGET_VEXPRESS64_JUNO
65 default 0x840000 if TARGET_VEXPRESS64_BASE_FVP
66
67config SYS_MALLOC_F_LEN
68 default 0x2000
69
70config SYS_LOAD_ADDR
Peter Hoyes3ca0ea02022-03-04 16:30:18 +000071 default 0x10000000 if TARGET_VEXPRESS64_BASER_FVP
Andre Przywara9fd5ec52022-03-04 16:30:13 +000072 default 0x90000000
73
74config ENV_ADDR
75 default 0x0BFC0000 if TARGET_VEXPRESS64_JUNO
76 default 0x0FFC0000 if TARGET_VEXPRESS64_BASE_FVP
Peter Hoyes3ca0ea02022-03-04 16:30:18 +000077 default 0x8FFC0000 if TARGET_VEXPRESS64_BASER_FVP
Andre Przywara9fd5ec52022-03-04 16:30:13 +000078
79config ENV_SIZE
80 default 0x10000 if TARGET_VEXPRESS64_JUNO
81 default 0x40000
82
83config ENV_SECT_SIZE
84 default 0x10000 if TARGET_VEXPRESS64_JUNO
85 default 0x40000
86
Linus Walleijc5822502015-01-23 14:41:10 +010087endif