Andre Przywara | b33739f | 2022-03-04 16:30:09 +0000 | [diff] [blame] | 1 | if ARCH_VEXPRESS64 |
Linus Walleij | c582250 | 2015-01-23 14:41:10 +0100 | [diff] [blame] | 2 | |
| 3 | config SYS_BOARD |
| 4 | default "vexpress64" |
| 5 | |
| 6 | config SYS_VENDOR |
| 7 | default "armltd" |
| 8 | |
| 9 | config SYS_CONFIG_NAME |
Peter Hoyes | 3286037 | 2021-11-11 09:26:00 +0000 | [diff] [blame] | 10 | default "vexpress_aemv8" |
Linus Walleij | c582250 | 2015-01-23 14:41:10 +0100 | [diff] [blame] | 11 | |
Peter Hoyes | 3ca0ea0 | 2022-03-04 16:30:18 +0000 | [diff] [blame] | 12 | config VEXPRESS64_BASE_MODEL |
| 13 | bool |
Andre Przywara | b33739f | 2022-03-04 16:30:09 +0000 | [diff] [blame] | 14 | select SEMIHOSTING |
Andre Przywara | 9fd5ec5 | 2022-03-04 16:30:13 +0000 | [diff] [blame] | 15 | select VIRTIO_BLK if VIRTIO_MMIO |
| 16 | select VIRTIO_NET if VIRTIO_MMIO |
| 17 | select DM_ETH if VIRTIO_NET |
Andre Przywara | 395e9a9 | 2022-03-04 16:30:11 +0000 | [diff] [blame] | 18 | select LINUX_KERNEL_IMAGE_HEADER |
| 19 | select POSITION_INDEPENDENT |
Peter Hoyes | 3ca0ea0 | 2022-03-04 16:30:18 +0000 | [diff] [blame] | 20 | |
| 21 | choice |
| 22 | prompt "VExpress64 board variant" |
| 23 | |
| 24 | config TARGET_VEXPRESS64_BASE_FVP |
| 25 | bool "Support Versatile Express ARMv8a FVP BASE model" |
| 26 | select VEXPRESS64_BASE_MODEL |
Andre Przywara | 395e9a9 | 2022-03-04 16:30:11 +0000 | [diff] [blame] | 27 | select OF_BOARD |
Andre Przywara | b33739f | 2022-03-04 16:30:09 +0000 | [diff] [blame] | 28 | |
Peter Hoyes | 3ca0ea0 | 2022-03-04 16:30:18 +0000 | [diff] [blame] | 29 | config TARGET_VEXPRESS64_BASER_FVP |
| 30 | bool "Support Versatile Express ARMv8r64 FVP BASE model" |
| 31 | select VEXPRESS64_BASE_MODEL |
| 32 | imply OF_HAS_PRIOR_STAGE |
| 33 | |
Andre Przywara | b33739f | 2022-03-04 16:30:09 +0000 | [diff] [blame] | 34 | config TARGET_VEXPRESS64_JUNO |
| 35 | bool "Support Versatile Express Juno Development Platform" |
Andre Przywara | 9fd5ec5 | 2022-03-04 16:30:13 +0000 | [diff] [blame] | 36 | select PCIE_ECAM_GENERIC if PCI |
| 37 | select SATA_SIL |
| 38 | select SMC911X if DM_ETH |
| 39 | select SMC911X_32_BIT if SMC911X |
| 40 | select CMD_USB if USB |
| 41 | select USB_EHCI_HCD if USB |
| 42 | select USB_EHCI_GENERIC if USB |
| 43 | select USB_OHCI_HCD if USB |
| 44 | select USB_OHCI_GENERIC if USB |
Andre Przywara | b33739f | 2022-03-04 16:30:09 +0000 | [diff] [blame] | 45 | imply OF_HAS_PRIOR_STAGE |
| 46 | |
| 47 | endchoice |
| 48 | |
Andre Przywara | 94504f4 | 2020-04-27 19:18:01 +0100 | [diff] [blame] | 49 | config JUNO_DTB_PART |
| 50 | string "NOR flash partition holding DTB" |
| 51 | default "board.dtb" |
| 52 | help |
| 53 | The ARM partition name in the NOR flash memory holding the |
| 54 | device tree blob to configure U-Boot. |
| 55 | |
Andre Przywara | 395e9a9 | 2022-03-04 16:30:11 +0000 | [diff] [blame] | 56 | config LNX_KRNL_IMG_TEXT_OFFSET_BASE |
| 57 | default SYS_TEXT_BASE |
| 58 | |
Andre Przywara | 9fd5ec5 | 2022-03-04 16:30:13 +0000 | [diff] [blame] | 59 | config SYS_TEXT_BASE |
| 60 | default 0x88000000 if TARGET_VEXPRESS64_BASE_FVP |
| 61 | default 0xe0000000 if TARGET_VEXPRESS64_JUNO |
Peter Hoyes | 3ca0ea0 | 2022-03-04 16:30:18 +0000 | [diff] [blame] | 62 | default 0x00001000 if TARGET_VEXPRESS64_BASER_FVP |
Andre Przywara | 9fd5ec5 | 2022-03-04 16:30:13 +0000 | [diff] [blame] | 63 | |
| 64 | config SYS_MALLOC_LEN |
| 65 | default 0x810000 if TARGET_VEXPRESS64_JUNO |
| 66 | default 0x840000 if TARGET_VEXPRESS64_BASE_FVP |
| 67 | |
| 68 | config SYS_MALLOC_F_LEN |
| 69 | default 0x2000 |
| 70 | |
| 71 | config SYS_LOAD_ADDR |
Peter Hoyes | 3ca0ea0 | 2022-03-04 16:30:18 +0000 | [diff] [blame] | 72 | default 0x10000000 if TARGET_VEXPRESS64_BASER_FVP |
Andre Przywara | 9fd5ec5 | 2022-03-04 16:30:13 +0000 | [diff] [blame] | 73 | default 0x90000000 |
| 74 | |
| 75 | config ENV_ADDR |
| 76 | default 0x0BFC0000 if TARGET_VEXPRESS64_JUNO |
| 77 | default 0x0FFC0000 if TARGET_VEXPRESS64_BASE_FVP |
Peter Hoyes | 3ca0ea0 | 2022-03-04 16:30:18 +0000 | [diff] [blame] | 78 | default 0x8FFC0000 if TARGET_VEXPRESS64_BASER_FVP |
Andre Przywara | 9fd5ec5 | 2022-03-04 16:30:13 +0000 | [diff] [blame] | 79 | |
| 80 | config ENV_SIZE |
| 81 | default 0x10000 if TARGET_VEXPRESS64_JUNO |
| 82 | default 0x40000 |
| 83 | |
| 84 | config ENV_SECT_SIZE |
| 85 | default 0x10000 if TARGET_VEXPRESS64_JUNO |
| 86 | default 0x40000 |
| 87 | |
Linus Walleij | c582250 | 2015-01-23 14:41:10 +0100 | [diff] [blame] | 88 | endif |