diff options
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | 2017-02-21 17:58:29 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2017-08-02 09:11:52 +0200 |
commit | 4b5b0fcd212bb4f2cb4c8f9d4f3699c999dfbd2d (patch) | |
tree | 967402c4700679a2633e5cf2d8386caba2a47e93 /board/xilinx/zynqmp | |
parent | 90a35db410ae5b6123ebdb2f6233a1f9ce8d0412 (diff) | |
download | u-boot-4b5b0fcd212bb4f2cb4c8f9d4f3699c999dfbd2d.tar.gz u-boot-4b5b0fcd212bb4f2cb4c8f9d4f3699c999dfbd2d.tar.xz u-boot-4b5b0fcd212bb4f2cb4c8f9d4f3699c999dfbd2d.zip |
arm64: zynqmp: Dont write to system timestamp generator
Remove incorrect code of writing to system timestamp
counter registers. This register writes does nothing
and can be removed.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx/zynqmp')
-rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index a67473f344..5b1852a8ce 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -170,12 +170,6 @@ int board_early_init_r(void) writel(ZYNQMP_IOU_SCNTR_COUNTER_CONTROL_REGISTER_EN, &iou_scntr_secure->counter_control_register); } - /* Program freq register in System counter and enable system counter */ - writel(gd->cpu_clk, &iou_scntr->base_frequency_id_register); - writel(ZYNQMP_IOU_SCNTR_COUNTER_CONTROL_REGISTER_HDBG | - ZYNQMP_IOU_SCNTR_COUNTER_CONTROL_REGISTER_EN, - &iou_scntr->counter_control_register); - return 0; } |