diff options
author | Tony Lindgren <tony@atomide.com> | 2011-02-16 11:45:46 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-16 11:45:46 -0500 |
commit | e811d3272dbed154b8c56a37392bb1d23c9bd71e (patch) | |
tree | 03ef95a7752ce45811cc888ed316a3fdd798b83c | |
parent | 4d887a250d6294d4e17851da46d6eab4de83c91e (diff) |
TI816X: Update to use init_early
Update to use init_early
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/board-ti8168evm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c index 6282cc4a9772..f2b097190e07 100644 --- a/arch/arm/mach-omap2/board-ti8168evm.c +++ b/arch/arm/mach-omap2/board-ti8168evm.c | |||
@@ -27,12 +27,16 @@ | |||
27 | static struct omap_board_config_kernel ti8168_evm_config[] __initdata = { | 27 | static struct omap_board_config_kernel ti8168_evm_config[] __initdata = { |
28 | }; | 28 | }; |
29 | 29 | ||
30 | static void __init ti8168_evm_init_irq(void) | 30 | static void __init ti8168_init_early(void) |
31 | { | 31 | { |
32 | omap_board_config = ti8168_evm_config; | 32 | omap_board_config = ti8168_evm_config; |
33 | omap_board_config_size = ARRAY_SIZE(ti8168_evm_config); | 33 | omap_board_config_size = ARRAY_SIZE(ti8168_evm_config); |
34 | omap2_init_common_infrastructure(); | 34 | omap2_init_common_infrastructure(); |
35 | omap2_init_common_devices(NULL, NULL); | 35 | omap2_init_common_devices(NULL, NULL); |
36 | } | ||
37 | |||
38 | static void __init ti8168_evm_init_irq(void) | ||
39 | { | ||
36 | omap_init_irq(); | 40 | omap_init_irq(); |
37 | } | 41 | } |
38 | 42 | ||
@@ -51,6 +55,7 @@ MACHINE_START(TI8168EVM, "ti8168evm") | |||
51 | /* Maintainer: Texas Instruments */ | 55 | /* Maintainer: Texas Instruments */ |
52 | .boot_params = 0x80000100, | 56 | .boot_params = 0x80000100, |
53 | .map_io = ti8168_evm_map_io, | 57 | .map_io = ti8168_evm_map_io, |
58 | .init_early = ti8168_init_early, | ||
54 | .init_irq = ti8168_evm_init_irq, | 59 | .init_irq = ti8168_evm_init_irq, |
55 | .timer = &omap_timer, | 60 | .timer = &omap_timer, |
56 | .init_machine = ti8168_evm_init, | 61 | .init_machine = ti8168_evm_init, |