]> git.baikalelectronics.ru Git - uboot.git/commit
pg-wcom-ls102xa: fix sys counter frequency
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Tue, 8 Jun 2021 14:25:21 +0000 (14:25 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 17 Jun 2021 06:16:11 +0000 (11:46 +0530)
commit0b57cba16a92e82e4c7807ebd81a1bdf79ef2a5c
tree3b452a1845a75e8b331f205bae1c2fef39d296cd
parent3d240ff9e63f165cc3d111cc1e2deffa57911dc0
pg-wcom-ls102xa: fix sys counter frequency

A system clock of 66MHz was chosen for the pg-wcom-ls102xa.
Compared to the Evalboard, this corresponds to a reduction of 1/3.
The system counter clock should have been reduced accordingly,
but that was not the case, so we had a system time that was
1/3 behind the real time.

This patch corrects the system counter clock to
8.333MHz = 66.667MHz / 8.

Signed-off-by: Rainer Boschung <rainer.boschung@hitachi-powergrids.com>
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/km/pg-wcom-ls102xa.h