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_early(void); 22 void loki_init_irq(void); 23 24 extern struct mbus_dram_target_info loki_mbus_dram_info; 25 void loki_setup_cpu_mbus(void); 26 void loki_setup_dev_boot_win(u32 base, u32 size); 27 28 void loki_ge0_init(struct mv643xx_eth_platform_data *eth_data); 29 void loki_ge1_init(struct mv643xx_eth_platform_data *eth_data); 30 void loki_sas_init(void); 31 void loki_uart0_init(void); 32 void loki_uart1_init(void); 33 34 extern struct sys_timer loki_timer; 35 36 37 #endif 38