|
@@ -327,28 +327,6 @@ static struct platform_device *bonito_base_devices[] __initdata = {
|
|
* map I/O
|
|
* map I/O
|
|
*/
|
|
*/
|
|
static struct map_desc bonito_io_desc[] __initdata = {
|
|
static struct map_desc bonito_io_desc[] __initdata = {
|
|
- /*
|
|
|
|
- * for CPGA/INTC/PFC
|
|
|
|
- * 0xe6000000-0xefffffff -> 0xe6000000-0xefffffff
|
|
|
|
- */
|
|
|
|
- {
|
|
|
|
- .virtual = 0xe6000000,
|
|
|
|
- .pfn = __phys_to_pfn(0xe6000000),
|
|
|
|
- .length = 160 << 20,
|
|
|
|
- .type = MT_DEVICE_NONSHARED
|
|
|
|
- },
|
|
|
|
-#ifdef CONFIG_CACHE_L2X0
|
|
|
|
- /*
|
|
|
|
- * for l2x0_init()
|
|
|
|
- * 0xf0100000-0xf0101000 -> 0xf0002000-0xf0003000
|
|
|
|
- */
|
|
|
|
- {
|
|
|
|
- .virtual = 0xf0002000,
|
|
|
|
- .pfn = __phys_to_pfn(0xf0100000),
|
|
|
|
- .length = PAGE_SIZE,
|
|
|
|
- .type = MT_DEVICE_NONSHARED
|
|
|
|
- },
|
|
|
|
-#endif
|
|
|
|
/*
|
|
/*
|
|
* for FPGA (0x1800000-0x19ffffff)
|
|
* for FPGA (0x1800000-0x19ffffff)
|
|
* 0x18000000-0x18002000 -> 0xf0003000-0xf0005000
|
|
* 0x18000000-0x18002000 -> 0xf0003000-0xf0005000
|
|
@@ -363,11 +341,8 @@ static struct map_desc bonito_io_desc[] __initdata = {
|
|
|
|
|
|
static void __init bonito_map_io(void)
|
|
static void __init bonito_map_io(void)
|
|
{
|
|
{
|
|
|
|
+ r8a7740_map_io();
|
|
iotable_init(bonito_io_desc, ARRAY_SIZE(bonito_io_desc));
|
|
iotable_init(bonito_io_desc, ARRAY_SIZE(bonito_io_desc));
|
|
-
|
|
|
|
- /* setup early devices and console here as well */
|
|
|
|
- r8a7740_add_early_devices();
|
|
|
|
- shmobile_setup_console();
|
|
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -515,6 +490,7 @@ struct sys_timer bonito_timer = {
|
|
|
|
|
|
MACHINE_START(BONITO, "bonito")
|
|
MACHINE_START(BONITO, "bonito")
|
|
.map_io = bonito_map_io,
|
|
.map_io = bonito_map_io,
|
|
|
|
+ .init_early = r8a7740_add_early_devices,
|
|
.init_irq = r8a7740_init_irq,
|
|
.init_irq = r8a7740_init_irq,
|
|
.handle_irq = shmobile_handle_irq_intc,
|
|
.handle_irq = shmobile_handle_irq_intc,
|
|
.init_machine = bonito_init,
|
|
.init_machine = bonito_init,
|