summaryrefslogtreecommitdiff
path: root/configs/xilinx_versal_net_virt_defconfig
diff options
context:
space:
mode:
authorAshok Reddy Soma <ashok.reddy.soma@amd.com>2023-01-10 08:44:07 +0100
committerMichal Simek <michal.simek@amd.com>2023-01-16 15:34:37 +0100
commit724379d9afc850de2767094987a761f096af7718 (patch)
treedae54522689ef43d46e7a4939a191d22bd532cbf /configs/xilinx_versal_net_virt_defconfig
parent29b58bba91147c3c03dcb998a1efe4a4d026d7e1 (diff)
downloadu-boot-724379d9afc850de2767094987a761f096af7718.tar.gz
xilinx: versal-net: Add support for timer and start it
Add support for starting timer by setting up time stamp generator registers. This is done only for EL3 i.e. mini U-Boot case. For other cases, it will be done TF-A. Add COUNTER_FREQUENCY and IOU_SWITCH_DIVISOR0 to Kconfig so that they can be tuned as required. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/fcd8b0dc4b45a11f5e753afff42f84738ac813da.1673336645.git.michal.simek@amd.com
Diffstat (limited to 'configs/xilinx_versal_net_virt_defconfig')
-rw-r--r--configs/xilinx_versal_net_virt_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/xilinx_versal_net_virt_defconfig b/configs/xilinx_versal_net_virt_defconfig
index 2fdf99f7cb..729c6ad450 100644
--- a/configs/xilinx_versal_net_virt_defconfig
+++ b/configs/xilinx_versal_net_virt_defconfig
@@ -1,4 +1,5 @@
CONFIG_ARM=y
+CONFIG_COUNTER_FREQUENCY=100000000
CONFIG_POSITION_INDEPENDENT=y
CONFIG_SYS_INIT_SP_BSS_OFFSET=1572864
CONFIG_ARCH_VERSAL_NET=y