iot_dk: Save CPU clock value to gd->cpu_clk
authorAlexey Brodkin <abrodkin@synopsys.com>
Wed, 10 Oct 2018 13:15:20 +0000 (16:15 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Fri, 12 Oct 2018 12:14:41 +0000 (15:14 +0300)
commit8a8f32d8ff9db59fc3dccbc4da83dd78e13d9c3e
treea44860181a661dbe0620b5787d9da965bda156fa
parent031154fe8f2b1b6b2a6e2d1449676a8c6dc42ebf
iot_dk: Save CPU clock value to gd->cpu_clk

Since gd->cpu_clk is a global item we may once populate it from .dtb
ans use it then in other places like for printing CPU info etc.

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