repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
21 lines
471 B
C
21 lines
471 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2009 Chen Liqin <liqin.chen@sunplusct.com>
|
|
* Copyright (C) 2016 Regents of the University of California
|
|
*/
|
|
|
|
#ifndef _ASM_RISCV_DELAY_H
|
|
#define _ASM_RISCV_DELAY_H
|
|
|
|
extern unsigned long riscv_timebase;
|
|
|
|
#define udelay udelay
|
|
extern void udelay(unsigned long usecs);
|
|
|
|
#define ndelay ndelay
|
|
extern void ndelay(unsigned long nsecs);
|
|
|
|
extern void __delay(unsigned long cycles);
|
|
|
|
#endif /* _ASM_RISCV_DELAY_H */
|