From: Michal Simek Date: Fri, 5 Sep 2014 11:04:48 +0000 (+0200) Subject: zynqmp: Setup proper frequence for ep108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8062e9077041466134fc03de4b0140dcf9a07304;p=thirdparty%2Fu-boot.git zynqmp: Setup proper frequence for ep108 When u-boot runs standalone proper frequency to cntfrq_el0 in EL3 has to be setup. When u-boot runs from EL2/EL1 (from ATF) cntfrq_el0 is already setup by ATF or different firmware. Signed-off-by: Michal Simek --- diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index b2547f39cb0..cbbc91f47a2 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -52,8 +52,8 @@ #define CONFIG_DEFAULT_DEVICE_TREE zynqmp -/* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 0x1800000 /* 24MHz */ +/* Generic Timer Definitions - setup in EL3. Setup by ATF for other cases */ +#define COUNTER_FREQUENCY 4000000 /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 0x400000)