15 #include <linux/kernel.h>
18 #include <linux/input.h>
21 #include <linux/device.h>
25 #include <mach/hardware.h>
31 #include <mach/board.h>
34 #include <asm/delay.h>
35 #include <asm/setup.h>
40 #include "gpio_chip.h"
41 #include "board-sapphire.h"
58 static void __init sapphire_init_irq(
void)
63 static void __init sapphire_init(
void)
70 .virtual = SAPPHIRE_CPLD_BASE,
72 .length = SAPPHIRE_CPLD_SIZE,
73 .type = MT_DEVICE_NONSHARED
80 int smi_sz = parse_tag_smi((
const struct tag *)tags);
86 mi->
bank[0].size = (84*1024*1024);
87 }
else if (smi_sz == 64) {
88 mi->
bank[0].size = (101*1024*1024);
92 mi->
bank[0].size = (101*1024*1024);
96 static void __init sapphire_map_io(
void)
103 static void __init sapphire_init_late(
void)
110 .atag_offset = 0x100,
111 .fixup = sapphire_fixup,
112 .map_io = sapphire_map_io,
113 .init_irq = sapphire_init_irq,
114 .init_machine = sapphire_init,
115 .init_late = sapphire_init_late,