aboutsummaryrefslogtreecommitdiff
path: root/board/xilinx
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2022-04-13 17:47:17 +0800
committerTom Rini <trini@konsulko.com>2022-04-21 14:32:40 -0400
commitd8c033a9cdb396975496af96f53ced7ad07fbc97 (patch)
tree4cc8315a3d721334a817ddb5c9f1fc353f8047a8 /board/xilinx
parent467f0c4dc236744f4555ea9356ecd7f9819a9543 (diff)
downloadu-boot-d8c033a9cdb396975496af96f53ced7ad07fbc97.zip
u-boot-d8c033a9cdb396975496af96f53ced7ad07fbc97.tar.gz
u-boot-d8c033a9cdb396975496af96f53ced7ad07fbc97.tar.bz2
xilinx: versal: board: use CONFIG_COUNTER_FREQUENCY
Since versal has CONFIG_COUNTER_FREQUENCY, so use it. And COUNTER_FREQUENCY will be dropped. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r--board/xilinx/versal/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c
index 9940f2a..2e2807e 100644
--- a/board/xilinx/versal/board.c
+++ b/board/xilinx/versal/board.c
@@ -74,7 +74,7 @@ int board_early_init_r(void)
* Program freq register in System counter and
* enable system counter.
*/
- writel(COUNTER_FREQUENCY,
+ writel(CONFIG_COUNTER_FREQUENCY,
&iou_scntr_secure->base_frequency_id_register);
debug("counter val 0x%x\n",