forked from Mirrors/opensbi

Instead of having timer_value(), timer_event_start(), and timer_event_stop() callbacks in platform operations, it will be much simpler for timer driver to directly register these operations as device to the sbi_timer implementation. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
18 lines
323 B
C
18 lines
323 B
C
/*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*
|
|
* Copyright (c) 2019 Andes Technology Corporation
|
|
*
|
|
* Authors:
|
|
* Zong Li <zong@andestech.com>
|
|
*/
|
|
|
|
#ifndef _AE350_PLMT_H_
|
|
#define _AE350_PLMT_H_
|
|
|
|
int plmt_warm_timer_init(void);
|
|
|
|
int plmt_cold_timer_init(unsigned long base, u32 hart_count);
|
|
|
|
#endif /* _AE350_PLMT_H_ */
|