mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-18 04:54:52 +00:00
[POWERPC] bootwrapper: Declare udelay() in ops.h
Declarations in various users are removed. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
dc4f397d6e
commit
3ee9b7abaf
5 changed files with 1 additions and 7 deletions
|
@ -17,7 +17,6 @@
|
|||
#include "io.h"
|
||||
#include "ops.h"
|
||||
|
||||
extern void udelay(long delay);
|
||||
|
||||
#define MPSC_CHR_1 0x000c
|
||||
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#include "ops.h"
|
||||
#include "mv64x60.h"
|
||||
|
||||
extern void udelay(long);
|
||||
|
||||
/* Register defines */
|
||||
#define MV64x60_I2C_REG_SLAVE_ADDR 0x00
|
||||
#define MV64x60_I2C_REG_DATA 0x04
|
||||
|
|
|
@ -193,5 +193,6 @@ static inline void exit(void)
|
|||
void *_platform_stack_top = _bss_stack + sizeof(_bss_stack);
|
||||
|
||||
extern unsigned long timebase_period_ns;
|
||||
void udelay(long delay);
|
||||
|
||||
#endif /* _PPC_BOOT_OPS_H_ */
|
||||
|
|
|
@ -25,8 +25,6 @@ extern char _end[];
|
|||
extern char _vmlinux_start[], _vmlinux_end[];
|
||||
extern char _dtb_start[], _dtb_end[];
|
||||
|
||||
extern void udelay(long delay);
|
||||
|
||||
#define KB 1024U
|
||||
#define MB (KB*KB)
|
||||
#define GB (KB*MB)
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
#include "io.h"
|
||||
#include "ops.h"
|
||||
|
||||
extern void udelay(long delay);
|
||||
|
||||
static int serial_open(void)
|
||||
{
|
||||
struct serial_console_data *scdp = console_ops.data;
|
||||
|
|
Loading…
Add table
Reference in a new issue