Michal Simek | 4b066a1 | 2018-08-22 14:55:27 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | if ARCH_VERSAL |
| 4 | |
| 5 | config SYS_BOARD |
| 6 | string "Board name" |
| 7 | default "versal" |
| 8 | |
| 9 | config SYS_VENDOR |
| 10 | string "Vendor name" |
| 11 | default "xilinx" |
| 12 | |
| 13 | config SYS_SOC |
| 14 | default "versal" |
| 15 | |
| 16 | config SYS_CONFIG_NAME |
| 17 | string "Board configuration name" |
| 18 | default "xilinx_versal" |
| 19 | help |
| 20 | This option contains information about board configuration name. |
| 21 | Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header |
| 22 | will be used for board configuration. |
| 23 | |
Michal Simek | 4b066a1 | 2018-08-22 14:55:27 +0200 | [diff] [blame] | 24 | config SYS_MALLOC_LEN |
| 25 | default 0x2000000 |
| 26 | |
Michal Simek | 4b066a1 | 2018-08-22 14:55:27 +0200 | [diff] [blame] | 27 | config ZYNQ_SDHCI_MAX_FREQ |
| 28 | default 200000000 |
| 29 | |
Michal Simek | f56f7d1 | 2019-01-28 11:12:41 +0100 | [diff] [blame] | 30 | config IOU_SWITCH_DIVISOR0 |
| 31 | hex "IOU switch divisor0" |
| 32 | default 0x20 |
| 33 | help |
| 34 | Setup time clock divisor for input clock. |
| 35 | |
Siva Durga Prasad Paladugu | 775aa95 | 2019-01-08 21:47:26 +0530 | [diff] [blame] | 36 | config SYS_MEM_RSVD_FOR_MMU |
| 37 | bool "Reserve memory for MMU Table" |
| 38 | help |
| 39 | If defined this option is used to setup different space for |
| 40 | MMU table than the one which will be allocated during |
| 41 | relocation. |
| 42 | |
Michal Simek | fe2eb11 | 2019-09-11 09:39:59 +0200 | [diff] [blame] | 43 | config DEFINE_TCM_OCM_MMAP |
| 44 | bool "Define TCM and OCM memory in MMU Table" |
| 45 | default y if MP |
| 46 | help |
| 47 | This option if enabled defines the TCM and OCM memory and its |
| 48 | memory attributes in MMU table entry. |
| 49 | |
Michal Simek | dfcd21d | 2020-03-18 13:45:21 +0100 | [diff] [blame] | 50 | config VERSAL_NO_DDR |
| 51 | bool "Disable DDR MMU mapping" |
| 52 | help |
| 53 | This option configures MMU with no DDR to avoid speculative |
| 54 | access to DDR memory where DDR is not present. |
| 55 | |
Michal Simek | 5f88485 | 2020-08-27 15:34:11 +0200 | [diff] [blame] | 56 | source "board/xilinx/Kconfig" |
| 57 | source "board/xilinx/versal/Kconfig" |
| 58 | |
Michal Simek | 4b066a1 | 2018-08-22 14:55:27 +0200 | [diff] [blame] | 59 | endif |