Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 1 | /* |
| 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> |
Lee Jones | 3a8e39c | 2012-07-06 12:46:23 +0200 | [diff] [blame] | 16 | #include <linux/mfd/abx500/ab8500.h> |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 17 | |
Rabin Vincent | abf12d7 | 2010-12-08 11:07:59 +0530 | [diff] [blame] | 18 | void __init ux500_map_io(void); |
Rabin Vincent | 178980f | 2010-05-03 07:39:02 +0100 | [diff] [blame] | 19 | extern void __init u8500_map_io(void); |
| 20 | |
Lee Jones | 3210c05 | 2013-05-08 14:29:01 +0100 | [diff] [blame^] | 21 | extern struct device * __init u8500_init_devices(void); |
Rabin Vincent | d48fd00 | 2010-05-03 07:46:56 +0100 | [diff] [blame] | 22 | |
Rabin Vincent | 178980f | 2010-05-03 07:39:02 +0100 | [diff] [blame] | 23 | extern void __init ux500_init_irq(void); |
Shawn Guo | a010bc2 | 2012-05-02 17:10:07 +0800 | [diff] [blame] | 24 | extern void __init ux500_init_late(void); |
Per Forlin | bab263e | 2010-12-05 12:49:03 +0100 | [diff] [blame] | 25 | |
Lee Jones | eda413c | 2012-02-06 11:22:24 -0800 | [diff] [blame] | 26 | extern struct device *ux500_soc_device_init(const char *soc_id); |
Per Forlin | e8b1cc3 | 2010-12-05 13:35:12 +0100 | [diff] [blame] | 27 | |
Rabin Vincent | fbf1eadf | 2010-09-29 19:46:32 +0530 | [diff] [blame] | 28 | struct amba_device; |
Rabin Vincent | d48fd00 | 2010-05-03 07:46:56 +0100 | [diff] [blame] | 29 | extern void __init amba_add_devices(struct amba_device *devs[], int num); |
| 30 | |
Stephen Warren | 6bb27d7 | 2012-11-08 12:40:59 -0700 | [diff] [blame] | 31 | extern void ux500_timer_init(void); |
Rabin Vincent | cc2c133 | 2010-03-01 05:03:31 +0100 | [diff] [blame] | 32 | |
Rabin Vincent | 178980f | 2010-05-03 07:39:02 +0100 | [diff] [blame] | 33 | #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 Walleij | f946738 | 2010-08-19 10:27:49 +0100 | [diff] [blame] | 40 | #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 | |
Marc Zyngier | 5ac21a9 | 2011-09-08 13:15:22 +0100 | [diff] [blame] | 47 | extern struct smp_operations ux500_smp_ops; |
| 48 | extern void ux500_cpu_die(unsigned int cpu); |
| 49 | |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 50 | #endif /* __ASM_ARCH_SETUP_H */ |