diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-11-05 08:32:14 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-01-27 15:55:57 +0100 |
commit | 713b616459eb0d8a7805e31f4b8e9a6fe786b3aa (patch) | |
tree | ba2d8d74522382734daf4d758b160be76c3589f3 /include/configs/xilinx_zynqmp_ep.h | |
parent | 99cb9ce029b58dd35d533371be0e333212b7798f (diff) | |
download | u-boot-713b616459eb0d8a7805e31f4b8e9a6fe786b3aa.tar.gz |
ARM64: zynqmp: Setup correct COUNTER_FREQUENCY for silicon
When U-Boot runs from EL3 system timer is setup based on this macro.
Software default freq for silicon is 100MHz but enable opton to rewrite
it. Emulation platform is using 4MHz.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/xilinx_zynqmp_ep.h')
-rw-r--r-- | include/configs/xilinx_zynqmp_ep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/xilinx_zynqmp_ep.h b/include/configs/xilinx_zynqmp_ep.h index 0204d2c593..9906c426f5 100644 --- a/include/configs/xilinx_zynqmp_ep.h +++ b/include/configs/xilinx_zynqmp_ep.h @@ -28,6 +28,8 @@ #define CONFIG_SYS_SDRAM_BASE 0 #define CONFIG_SYS_SDRAM_SIZE 0x40000000 +#define COUNTER_FREQUENCY 4000000 + #include <configs/xilinx_zynqmp.h> #endif /* __CONFIG_ZYNQMP_EP_H */ |