summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h
blob: 250e5a7787f4569d4469a45763078d509eedee94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 *  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

#define RAMIPS_SYS_TYPE_LEN	64
extern unsigned char ramips_sys_type[RAMIPS_SYS_TYPE_LEN];

void __init ramips_intc_irq_init(unsigned intc_base, unsigned irq,
				 unsigned irq_base);
u32 ramips_intc_get_status(void);

void __init ramips_soc_setup(void);

#endif /* __ASM_MACH_RALINK_COMMON_H */