dm: cpu: Add timebase frequency to the platdata
authorBin Meng <bmeng.cn@gmail.com>
Wed, 12 Dec 2018 14:12:24 +0000 (06:12 -0800)
committerAndes <uboot@andestech.com>
Tue, 18 Dec 2018 01:56:26 +0000 (09:56 +0800)
commitb859694776a522da9fd7d3ca2d8c027d6776c791
treee62576ad0004699c1b4881e6ec04aabc668d352c
parent8176ea4d58d18740e344dd4b587433c9f7772ac1
dm: cpu: Add timebase frequency to the platdata

This adds a timebase_freq member to the 'struct cpu_platdata', to
hold the "timebase-frequency" value in the cpu or /cpus node.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
include/cpu.h