2009-08-30 22:15:58 +03:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
|
|
* by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_MACH_RALINK_COMMON_H
|
|
|
|
#define __ASM_MACH_RALINK_COMMON_H
|
|
|
|
|
2009-08-31 21:53:31 +03:00
|
|
|
#define RAMIPS_SYS_TYPE_LEN 64
|
|
|
|
extern unsigned char ramips_sys_type[RAMIPS_SYS_TYPE_LEN];
|
|
|
|
|
2009-08-30 22:15:58 +03:00
|
|
|
void __init ramips_intc_irq_init(unsigned intc_base, unsigned irq,
|
|
|
|
unsigned irq_base);
|
|
|
|
u32 ramips_intc_get_status(void);
|
|
|
|
|
2009-08-31 21:53:22 +03:00
|
|
|
void __init ramips_soc_setup(void);
|
2009-09-04 18:08:26 +03:00
|
|
|
void __init ramips_gpio_init(void);
|
2009-09-02 15:44:17 +03:00
|
|
|
void __init ramips_early_serial_setup(int line, unsigned base, unsigned freq,
|
|
|
|
unsigned irq);
|
2009-08-31 21:53:22 +03:00
|
|
|
|
2009-08-30 22:15:58 +03:00
|
|
|
#endif /* __ASM_MACH_RALINK_COMMON_H */
|