[ARM] 3620/2: ixp23xx: add uengine loader support
[linux-2.6.22.y-op.git] / include / asm-arm / arch-ixp23xx / platform.h
blob19a73b39c8640491dc034bdbf5629edad8cd69c1
1 /*
2 * include/asm-arm/arch-ixp23xx/platform.h
4 * Various bits of code used by platform-level code.
6 * Author: Deepak Saxena <dsaxena@plexity.net>
8 * Copyright 2005 (c) MontaVista Software, Inc.
10 * This file is licensed under the terms of the GNU General Public
11 * License version 2. This program is licensed "as is" without any
12 * warranty of any kind, whether express or implied.
15 #ifndef __ASSEMBLY__
17 extern inline unsigned long ixp2000_reg_read(volatile void *reg)
19 return *((volatile unsigned long *)reg);
22 extern inline void ixp2000_reg_write(volatile void *reg, unsigned long val)
24 *((volatile unsigned long *)reg) = val;
27 extern inline void ixp2000_reg_wrb(volatile void *reg, unsigned long val)
29 *((volatile unsigned long *)reg) = val;
32 struct pci_sys_data;
34 void ixp23xx_map_io(void);
35 void ixp23xx_init_irq(void);
36 void ixp23xx_sys_init(void);
37 int ixp23xx_pci_setup(int, struct pci_sys_data *);
38 void ixp23xx_pci_preinit(void);
39 struct pci_bus *ixp23xx_pci_scan_bus(int, struct pci_sys_data*);
40 void ixp23xx_pci_slave_init(void);
42 extern struct sys_timer ixp23xx_timer;
44 #define IXP23XX_UART_XTAL 14745600
47 #endif