diff options
Diffstat (limited to 'arch/arm/mach-mx3/mach-qong.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-qong.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/arch/arm/mach-mx3/mach-qong.c b/arch/arm/mach-mx3/mach-qong.c index fd1050c40964..17f758b77623 100644 --- a/arch/arm/mach-mx3/mach-qong.c +++ b/arch/arm/mach-mx3/mach-qong.c | |||
@@ -54,10 +54,6 @@ | |||
54 | 54 | ||
55 | #define QONG_FPGA_IRQ IOMUX_TO_IRQ(MX31_PIN_DTR_DCE1) | 55 | #define QONG_FPGA_IRQ IOMUX_TO_IRQ(MX31_PIN_DTR_DCE1) |
56 | 56 | ||
57 | /* | ||
58 | * This file contains the board-specific initialization routines. | ||
59 | */ | ||
60 | |||
61 | static const struct imxuart_platform_data uart_pdata __initconst = { | 57 | static const struct imxuart_platform_data uart_pdata __initconst = { |
62 | .flags = IMXUART_HAVE_RTSCTS, | 58 | .flags = IMXUART_HAVE_RTSCTS, |
63 | }; | 59 | }; |
@@ -247,7 +243,7 @@ static void __init qong_init_fpga(void) | |||
247 | /* | 243 | /* |
248 | * Board specific initialization. | 244 | * Board specific initialization. |
249 | */ | 245 | */ |
250 | static void __init mxc_board_init(void) | 246 | static void __init qong_init(void) |
251 | { | 247 | { |
252 | mxc_init_imx_uart(); | 248 | mxc_init_imx_uart(); |
253 | qong_init_nor_mtd(); | 249 | qong_init_nor_mtd(); |
@@ -263,16 +259,12 @@ static struct sys_timer qong_timer = { | |||
263 | .init = qong_timer_init, | 259 | .init = qong_timer_init, |
264 | }; | 260 | }; |
265 | 261 | ||
266 | /* | ||
267 | * The following uses standard kernel macros defined in arch.h in order to | ||
268 | * initialize __mach_desc_QONG data structure. | ||
269 | */ | ||
270 | |||
271 | MACHINE_START(QONG, "Dave/DENX QongEVB-LITE") | 262 | MACHINE_START(QONG, "Dave/DENX QongEVB-LITE") |
272 | /* Maintainer: DENX Software Engineering GmbH */ | 263 | /* Maintainer: DENX Software Engineering GmbH */ |
273 | .boot_params = MX3x_PHYS_OFFSET + 0x100, | 264 | .boot_params = MX3x_PHYS_OFFSET + 0x100, |
274 | .map_io = mx31_map_io, | 265 | .map_io = mx31_map_io, |
275 | .init_irq = mx31_init_irq, | 266 | .init_early = imx31_init_early, |
276 | .init_machine = mxc_board_init, | 267 | .init_irq = mx31_init_irq, |
277 | .timer = &qong_timer, | 268 | .timer = &qong_timer, |
269 | .init_machine = qong_init, | ||
278 | MACHINE_END | 270 | MACHINE_END |