blob: 8b7ed82a286665961f04d548a0ab1137027fc7d8 [file] [log] [blame]
Srinidhi Kasagaraa44ef4d2009-11-28 08:17:18 +01001/*
2 * Copyright (C) 2009 ST-Ericsson.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * These symbols are needed for board-specific files to call their
9 * own cpu-specific files
10 */
11#ifndef __ASM_ARCH_SETUP_H
12#define __ASM_ARCH_SETUP_H
13
14#include <asm/mach/time.h>
15#include <linux/init.h>
16
Rabin Vincentabf12d72010-12-08 11:07:59 +053017void __init ux500_map_io(void);
Rabin Vincent178980f2010-05-03 07:39:02 +010018extern void __init u8500_map_io(void);
19
Lee Jones18403422012-02-06 11:22:21 -080020extern struct device * __init u8500_init_devices(void);
Rabin Vincentd48fd002010-05-03 07:46:56 +010021
Rabin Vincent178980f2010-05-03 07:39:02 +010022extern void __init ux500_init_irq(void);
Shawn Guoa010bc22012-05-02 17:10:07 +080023extern void __init ux500_init_late(void);
Per Forlinbab263e2010-12-05 12:49:03 +010024
Lee Joneseda413c2012-02-06 11:22:24 -080025extern struct device *ux500_soc_device_init(const char *soc_id);
Per Forline8b1cc32010-12-05 13:35:12 +010026
Rabin Vincentfbf1ead2010-09-29 19:46:32 +053027struct amba_device;
Rabin Vincentd48fd002010-05-03 07:46:56 +010028extern void __init amba_add_devices(struct amba_device *devs[], int num);
29
Rabin Vincentcc2c1332010-03-01 05:03:31 +010030struct sys_timer;
Rabin Vincent41ac3292010-05-03 08:28:05 +010031extern struct sys_timer ux500_timer;
Rabin Vincentcc2c1332010-03-01 05:03:31 +010032
Rabin Vincent178980f2010-05-03 07:39:02 +010033#define __IO_DEV_DESC(x, sz) { \
34 .virtual = IO_ADDRESS(x), \
35 .pfn = __phys_to_pfn(x), \
36 .length = sz, \
37 .type = MT_DEVICE, \
38}
39
Linus Walleijf9467382010-08-19 10:27:49 +010040#define __MEM_DEV_DESC(x, sz) { \
41 .virtual = IO_ADDRESS(x), \
42 .pfn = __phys_to_pfn(x), \
43 .length = sz, \
44 .type = MT_MEMORY, \
45}
46
Srinidhi Kasagaraa44ef4d2009-11-28 08:17:18 +010047#endif /* __ASM_ARCH_SETUP_H */