2009-11-28 07:17:18 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2009 ST-Ericsson.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* These symbols are needed for board-specific files to call their
|
|
|
|
* own cpu-specific files
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_SETUP_H
|
|
|
|
#define __ASM_ARCH_SETUP_H
|
|
|
|
|
|
|
|
#include <asm/mach/time.h>
|
|
|
|
#include <linux/init.h>
|
|
|
|
|
2010-12-08 05:37:59 +00:00
|
|
|
void __init ux500_map_io(void);
|
2010-05-03 07:46:51 +00:00
|
|
|
extern void __init u5500_map_io(void);
|
2010-05-03 06:39:02 +00:00
|
|
|
extern void __init u8500_map_io(void);
|
|
|
|
|
2010-05-03 07:46:51 +00:00
|
|
|
extern void __init u5500_init_devices(void);
|
2010-05-03 06:46:56 +00:00
|
|
|
extern void __init u8500_init_devices(void);
|
|
|
|
|
2010-05-03 06:39:02 +00:00
|
|
|
extern void __init ux500_init_irq(void);
|
2010-12-05 11:49:03 +00:00
|
|
|
|
|
|
|
extern void __init u5500_sdi_init(void);
|
|
|
|
|
2010-12-05 12:35:12 +00:00
|
|
|
extern void __init db5500_dma_init(void);
|
|
|
|
|
2009-11-28 07:17:18 +00:00
|
|
|
/* We re-use nomadik_timer for this platform */
|
|
|
|
extern void nmdk_timer_init(void);
|
|
|
|
|
2010-09-29 14:16:32 +00:00
|
|
|
struct amba_device;
|
2010-05-03 06:46:56 +00:00
|
|
|
extern void __init amba_add_devices(struct amba_device *devs[], int num);
|
|
|
|
|
2010-03-01 04:03:31 +00:00
|
|
|
struct sys_timer;
|
2010-05-03 07:28:05 +00:00
|
|
|
extern struct sys_timer ux500_timer;
|
2010-03-01 04:03:31 +00:00
|
|
|
|
2010-05-03 06:39:02 +00:00
|
|
|
#define __IO_DEV_DESC(x, sz) { \
|
|
|
|
.virtual = IO_ADDRESS(x), \
|
|
|
|
.pfn = __phys_to_pfn(x), \
|
|
|
|
.length = sz, \
|
|
|
|
.type = MT_DEVICE, \
|
|
|
|
}
|
|
|
|
|
2010-08-19 09:27:49 +00:00
|
|
|
#define __MEM_DEV_DESC(x, sz) { \
|
|
|
|
.virtual = IO_ADDRESS(x), \
|
|
|
|
.pfn = __phys_to_pfn(x), \
|
|
|
|
.length = sz, \
|
|
|
|
.type = MT_MEMORY, \
|
|
|
|
}
|
|
|
|
|
2009-11-28 07:17:18 +00:00
|
|
|
#endif /* __ASM_ARCH_SETUP_H */
|