diff options
author | Andrew Lunn <andrew@lunn.ch> | 2011-05-15 07:32:53 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-05-16 15:42:59 -0400 |
commit | 554cdaefd1cf7bb54b209c4e68c7cec87ce442a9 (patch) | |
tree | d7dedbb0fd43466baa017499da6bb5eb533e121c /arch/arm/mach-orion5x/kurobox_pro-setup.c | |
parent | b2f427a1088a9ad4f86855f4df1fc059bebb441f (diff) |
ARM: orion5x: Refactor mpp code to use common orion platform mpp.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/mach-orion5x/kurobox_pro-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/kurobox_pro-setup.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/arch/arm/mach-orion5x/kurobox_pro-setup.c b/arch/arm/mach-orion5x/kurobox_pro-setup.c index 47497c76162..c0eb6462633 100644 --- a/arch/arm/mach-orion5x/kurobox_pro-setup.c +++ b/arch/arm/mach-orion5x/kurobox_pro-setup.c | |||
@@ -315,28 +315,28 @@ static void kurobox_pro_power_off(void) | |||
315 | /***************************************************************************** | 315 | /***************************************************************************** |
316 | * General Setup | 316 | * General Setup |
317 | ****************************************************************************/ | 317 | ****************************************************************************/ |
318 | static struct orion5x_mpp_mode kurobox_pro_mpp_modes[] __initdata = { | 318 | static unsigned int kurobox_pro_mpp_modes[] __initdata = { |
319 | { 0, MPP_UNUSED }, | 319 | MPP0_UNUSED, |
320 | { 1, MPP_UNUSED }, | 320 | MPP1_UNUSED, |
321 | { 2, MPP_GPIO }, /* GPIO Micon */ | 321 | MPP2_GPIO, /* GPIO Micon */ |
322 | { 3, MPP_GPIO }, /* GPIO Rtc */ | 322 | MPP3_GPIO, /* GPIO Rtc */ |
323 | { 4, MPP_UNUSED }, | 323 | MPP4_UNUSED, |
324 | { 5, MPP_UNUSED }, | 324 | MPP5_UNUSED, |
325 | { 6, MPP_NAND }, /* NAND Flash REn */ | 325 | MPP6_NAND, /* NAND Flash REn */ |
326 | { 7, MPP_NAND }, /* NAND Flash WEn */ | 326 | MPP7_NAND, /* NAND Flash WEn */ |
327 | { 8, MPP_UNUSED }, | 327 | MPP8_UNUSED, |
328 | { 9, MPP_UNUSED }, | 328 | MPP9_UNUSED, |
329 | { 10, MPP_UNUSED }, | 329 | MPP10_UNUSED, |
330 | { 11, MPP_UNUSED }, | 330 | MPP11_UNUSED, |
331 | { 12, MPP_SATA_LED }, /* SATA 0 presence */ | 331 | MPP12_SATA_LED, /* SATA 0 presence */ |
332 | { 13, MPP_SATA_LED }, /* SATA 1 presence */ | 332 | MPP13_SATA_LED, /* SATA 1 presence */ |
333 | { 14, MPP_SATA_LED }, /* SATA 0 active */ | 333 | MPP14_SATA_LED, /* SATA 0 active */ |
334 | { 15, MPP_SATA_LED }, /* SATA 1 active */ | 334 | MPP15_SATA_LED, /* SATA 1 active */ |
335 | { 16, MPP_UART }, /* UART1 RXD */ | 335 | MPP16_UART, /* UART1 RXD */ |
336 | { 17, MPP_UART }, /* UART1 TXD */ | 336 | MPP17_UART, /* UART1 TXD */ |
337 | { 18, MPP_UART }, /* UART1 CTSn */ | 337 | MPP18_UART, /* UART1 CTSn */ |
338 | { 19, MPP_UART }, /* UART1 RTSn */ | 338 | MPP19_UART, /* UART1 RTSn */ |
339 | { -1 }, | 339 | 0, |
340 | }; | 340 | }; |
341 | 341 | ||
342 | static void __init kurobox_pro_init(void) | 342 | static void __init kurobox_pro_init(void) |