diff options
| author | Ye Li <[email protected]> | 2022-04-06 14:30:06 +0800 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2022-04-12 17:33:56 +0200 |
| commit | 38149cd0cc46924cd617faac1d07f15a727c313d (patch) | |
| tree | edba8945d6855664b21980af6cf198762dd83db3 /include | |
| parent | 77ee5d35080450ce41245955b950989e52f146e3 (diff) | |
imx: imx8ulp: Set COUNTER_FREQUENCY to 1Mhz
The COUNTER_FREQUENCY is missed in 8ulp configs, it will cause SPL
and u-boot not set the cntfrq_el0. For u-boot, this is ok, because
ATF has set it. But for SPL, it will lead delay and get_timer
not working.
Reviewed-by: Peng Fan <[email protected]>
Signed-off-by: Ye Li <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/imx8ulp_evk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/imx8ulp_evk.h b/include/configs/imx8ulp_evk.h index ddb3d444f03..e6886746320 100644 --- a/include/configs/imx8ulp_evk.h +++ b/include/configs/imx8ulp_evk.h @@ -27,6 +27,8 @@ #endif +#define COUNTER_FREQUENCY 1000000 /* 1MHz */ + /* ENET Config */ #if defined(CONFIG_FEC_MXC) #define PHY_ANEG_TIMEOUT 20000 |
