forked from Minki/linux
6451d7783b
Since we're now using addruart to establish the debug mapping, we can remove the io_pg_offst and phys_io members of struct machine_desc. The various declarations were removed using the following script: grep -rl MACHINE_START arch/arm | xargs \ sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }' [ Initial patch was from Jeremy Kerr, example script from Russell King ] Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Eric Miao <eric.miao at canonical.com>
40 lines
903 B
C
40 lines
903 B
C
/*
|
|
* Copyright (C) ST-Ericsson SA 2010
|
|
*
|
|
* Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
|
|
* License terms: GNU General Public License (GPL) version 2
|
|
*/
|
|
|
|
#include <linux/init.h>
|
|
#include <linux/platform_device.h>
|
|
#include <linux/amba/bus.h>
|
|
#include <linux/gpio.h>
|
|
|
|
#include <asm/mach/arch.h>
|
|
#include <asm/mach-types.h>
|
|
|
|
#include <mach/hardware.h>
|
|
#include <mach/devices.h>
|
|
#include <mach/setup.h>
|
|
|
|
static struct amba_device *amba_board_devs[] __initdata = {
|
|
&ux500_uart0_device,
|
|
&ux500_uart1_device,
|
|
&ux500_uart2_device,
|
|
};
|
|
|
|
static void __init u5500_init_machine(void)
|
|
{
|
|
u5500_init_devices();
|
|
|
|
amba_add_devices(amba_board_devs, ARRAY_SIZE(amba_board_devs));
|
|
}
|
|
|
|
MACHINE_START(U8500, "ST-Ericsson U5500 Platform")
|
|
.boot_params = 0x00000100,
|
|
.map_io = u5500_map_io,
|
|
.init_irq = ux500_init_irq,
|
|
.timer = &ux500_timer,
|
|
.init_machine = u5500_init_machine,
|
|
MACHINE_END
|