2009-11-28 00:17:18 -07: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>
|
2012-07-06 04:46:23 -06:00
|
|
|
#include <linux/mfd/abx500/ab8500.h>
|
2009-11-28 00:17:18 -07:00
|
|
|
|
2010-12-07 22:37:59 -07:00
|
|
|
void __init ux500_map_io(void);
|
2010-05-03 00:39:02 -06:00
|
|
|
extern void __init u8500_map_io(void);
|
|
|
|
|
2012-07-06 04:46:23 -06:00
|
|
|
extern struct device * __init u8500_init_devices(struct ab8500_platform_data *ab8500);
|
2010-05-03 00:46:56 -06:00
|
|
|
|
2010-05-03 00:39:02 -06:00
|
|
|
extern void __init ux500_init_irq(void);
|
2012-05-02 03:10:07 -06:00
|
|
|
extern void __init ux500_init_late(void);
|
2010-12-05 04:49:03 -07:00
|
|
|
|
2012-02-06 12:22:24 -07:00
|
|
|
extern struct device *ux500_soc_device_init(const char *soc_id);
|
2010-12-05 05:35:12 -07:00
|
|
|
|
2010-09-29 08:16:32 -06:00
|
|
|
struct amba_device;
|
2010-05-03 00:46:56 -06:00
|
|
|
extern void __init amba_add_devices(struct amba_device *devs[], int num);
|
|
|
|
|
2010-02-28 21:03:31 -07:00
|
|
|
struct sys_timer;
|
2010-05-03 01:28:05 -06:00
|
|
|
extern struct sys_timer ux500_timer;
|
2010-02-28 21:03:31 -07:00
|
|
|
|
2010-05-03 00:39:02 -06:00
|
|
|
#define __IO_DEV_DESC(x, sz) { \
|
|
|
|
.virtual = IO_ADDRESS(x), \
|
|
|
|
.pfn = __phys_to_pfn(x), \
|
|
|
|
.length = sz, \
|
|
|
|
.type = MT_DEVICE, \
|
|
|
|
}
|
|
|
|
|
2010-08-19 03:27:49 -06:00
|
|
|
#define __MEM_DEV_DESC(x, sz) { \
|
|
|
|
.virtual = IO_ADDRESS(x), \
|
|
|
|
.pfn = __phys_to_pfn(x), \
|
|
|
|
.length = sz, \
|
|
|
|
.type = MT_MEMORY, \
|
|
|
|
}
|
|
|
|
|
2009-11-28 00:17:18 -07:00
|
|
|
#endif /* __ASM_ARCH_SETUP_H */
|