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 14struct mv643xx_eth_platform_data; 15 16/* 17 * Basic Loki init functions used early by machine-setup. 18 */ 19void loki_map_io(void); 20void loki_init(void); 21void loki_init_irq(void); 22 23extern struct mbus_dram_target_info loki_mbus_dram_info; 24void loki_setup_cpu_mbus(void); 25void loki_setup_dev_boot_win(u32 base, u32 size); 26 27void loki_ge0_init(struct mv643xx_eth_platform_data *eth_data); 28void loki_ge1_init(struct mv643xx_eth_platform_data *eth_data); 29void loki_sas_init(void); 30void loki_uart0_init(void); 31void loki_uart1_init(void); 32 33extern struct sys_timer loki_timer; 34 35 36#endif 37