]> git.baikalelectronics.ru Git - uboot.git/commit
arc: emsdp: Read real CPU clock value from hardware
authorAlexey Brodkin <alexey.brodkin@synopsys.com>
Tue, 27 Nov 2018 06:46:59 +0000 (09:46 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Mon, 3 Dec 2018 11:26:35 +0000 (14:26 +0300)
commit55d5a7c68224688c2067f57b0e3a2cb525a688cd
treee10f1d7f4ad499d6559d6e4cd1fb6eddb39297bb
parent25e4698f5d379f2e3e7ed5b413af3fc816b93821
arc: emsdp: Read real CPU clock value from hardware

We do real CPU clock measurement with help of built-in
counters. Thus we may accommodate different real clock values
that appear in different FPA images instead of relying on
something hard-coded in the .dtb.

And while at it make make SDIO base address define
look similar to others with casting to "(void *)".

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
board/synopsys/emsdp/emsdp.c