• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/
1/*
2 *  Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
3 *
4 *  This program is free software; you can redistribute it and/or modify it
5 *  under the terms of the GNU General Public License version 2 as published
6 *  by the Free Software Foundation.
7 */
8
9#ifndef __ASM_MACH_RALINK_COMMON_H
10#define __ASM_MACH_RALINK_COMMON_H
11
12#define RAMIPS_SYS_TYPE_LEN	64
13extern unsigned char ramips_sys_type[RAMIPS_SYS_TYPE_LEN];
14extern unsigned long ramips_mem_base;
15extern unsigned long ramips_mem_size_min;
16extern unsigned long ramips_mem_size_max;
17extern unsigned long (*ramips_get_mem_size)(void);
18
19void ramips_intc_irq_init(unsigned intc_base, unsigned irq, unsigned irq_base);
20u32 ramips_intc_get_status(void);
21
22void ramips_soc_prom_init(void);
23void ramips_soc_setup(void);
24void ramips_early_serial_setup(int line, unsigned base, unsigned freq,
25			       unsigned irq);
26
27#endif /* __ASM_MACH_RALINK_COMMON_H */
28