lib: utils/fdt: Add fdt_parse_timebase_frequency() function
authorAnup Patel <anup.patel@wdc.com>
Tue, 14 Sep 2021 15:35:42 +0000 (21:05 +0530)
committerAnup Patel <anup@brainfault.org>
Sun, 26 Sep 2021 14:22:07 +0000 (19:52 +0530)
commit72154f4708de79816f0178b16223afa352b20e30
treea1800b08659ab8da4fa9dc0da63aaca26d806259
parent51113fe2a5ac6b5a712f2e5393347bf24194c09b
lib: utils/fdt: Add fdt_parse_timebase_frequency() function

We add fdt_parse_timebase_frequency() function which can be used
by ACLINT mtimer driver and platform code to get timebase frequency.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Xiang W <wxjstz@126.com>
include/sbi_utils/fdt/fdt_helper.h
lib/utils/fdt/fdt_helper.c