From: Peng Fan Date: Wed, 13 Apr 2022 09:47:17 +0000 (+0800) Subject: xilinx: versal: board: use CONFIG_COUNTER_FREQUENCY X-Git-Tag: v2022.07~91^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8c033a9cdb396975496af96f53ced7ad07fbc97;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Michal Simek --- 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",