| Lennert Buytenhek | 777f9be | 2008-06-22 22:45:02 +0200 | [diff] [blame] | 1 | /* | 
 | 2 |  * arch/arm/mach-loki/common.h | 
 | 3 |  * | 
 | 4 |  * Core functions for Marvell Loki (88RC8480) SoCs | 
 | 5 |  * | 
 | 6 |  * This file is licensed under the terms of the GNU General Public | 
 | 7 |  * License version 2.  This program is licensed "as is" without any | 
 | 8 |  * warranty of any kind, whether express or implied. | 
 | 9 |  */ | 
 | 10 |  | 
 | 11 | #ifndef __ARCH_LOKI_COMMON_H | 
 | 12 | #define __ARCH_LOKI_COMMON_H | 
 | 13 |  | 
 | 14 | struct mv643xx_eth_platform_data; | 
 | 15 |  | 
 | 16 | /* | 
 | 17 |  * Basic Loki init functions used early by machine-setup. | 
 | 18 |  */ | 
 | 19 | void loki_map_io(void); | 
 | 20 | void loki_init(void); | 
 | 21 | void loki_init_irq(void); | 
 | 22 |  | 
 | 23 | extern struct mbus_dram_target_info loki_mbus_dram_info; | 
 | 24 | void loki_setup_cpu_mbus(void); | 
 | 25 | void loki_setup_dev_boot_win(u32 base, u32 size); | 
 | 26 |  | 
 | 27 | void loki_ge0_init(struct mv643xx_eth_platform_data *eth_data); | 
 | 28 | void loki_ge1_init(struct mv643xx_eth_platform_data *eth_data); | 
 | 29 | void loki_sas_init(void); | 
 | 30 | void loki_uart0_init(void); | 
 | 31 | void loki_uart1_init(void); | 
 | 32 |  | 
 | 33 | extern struct sys_timer loki_timer; | 
 | 34 |  | 
 | 35 |  | 
 | 36 | #endif |