diff options
Diffstat (limited to 'arch/arm/mach-spear3xx/spear320_evb.c')
| -rw-r--r-- | arch/arm/mach-spear3xx/spear320_evb.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/arm/mach-spear3xx/spear320_evb.c b/arch/arm/mach-spear3xx/spear320_evb.c index 62ac685a4135..8213e4b66c14 100644 --- a/arch/arm/mach-spear3xx/spear320_evb.c +++ b/arch/arm/mach-spear3xx/spear320_evb.c | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | #include <asm/mach/arch.h> | 14 | #include <asm/mach/arch.h> |
| 15 | #include <asm/mach-types.h> | 15 | #include <asm/mach-types.h> |
| 16 | #include <mach/generic.h> | 16 | #include <mach/generic.h> |
| 17 | #include <mach/spear.h> | 17 | #include <mach/hardware.h> |
| 18 | 18 | ||
| 19 | /* padmux devices to enable */ | 19 | /* padmux devices to enable */ |
| 20 | static struct pmx_dev *pmx_devs[] = { | 20 | static struct pmx_dev *pmx_devs[] = { |
| @@ -26,7 +26,7 @@ static struct pmx_dev *pmx_devs[] = { | |||
| 26 | 26 | ||
| 27 | /* spear320 specific devices */ | 27 | /* spear320 specific devices */ |
| 28 | &pmx_fsmc, | 28 | &pmx_fsmc, |
| 29 | &pmx_sdio, | 29 | &pmx_sdhci, |
| 30 | &pmx_i2s, | 30 | &pmx_i2s, |
| 31 | &pmx_uart1, | 31 | &pmx_uart1, |
| 32 | &pmx_uart2, | 32 | &pmx_uart2, |
| @@ -55,14 +55,13 @@ static void __init spear320_evb_init(void) | |||
| 55 | { | 55 | { |
| 56 | unsigned int i; | 56 | unsigned int i; |
| 57 | 57 | ||
| 58 | /* call spear320 machine init function */ | 58 | /* padmux initialization, must be done before spear320_init */ |
| 59 | spear320_init(); | ||
| 60 | |||
| 61 | /* padmux initialization */ | ||
| 62 | pmx_driver.mode = &auto_net_mii_mode; | 59 | pmx_driver.mode = &auto_net_mii_mode; |
| 63 | pmx_driver.devs = pmx_devs; | 60 | pmx_driver.devs = pmx_devs; |
| 64 | pmx_driver.devs_count = ARRAY_SIZE(pmx_devs); | 61 | pmx_driver.devs_count = ARRAY_SIZE(pmx_devs); |
| 65 | spear320_pmx_init(); | 62 | |
| 63 | /* call spear320 machine init function */ | ||
| 64 | spear320_init(); | ||
| 66 | 65 | ||
| 67 | /* Add Platform Devices */ | 66 | /* Add Platform Devices */ |
| 68 | platform_add_devices(plat_devs, ARRAY_SIZE(plat_devs)); | 67 | platform_add_devices(plat_devs, ARRAY_SIZE(plat_devs)); |
| @@ -76,6 +75,6 @@ MACHINE_START(SPEAR320, "ST-SPEAR320-EVB") | |||
| 76 | .boot_params = 0x00000100, | 75 | .boot_params = 0x00000100, |
| 77 | .map_io = spear3xx_map_io, | 76 | .map_io = spear3xx_map_io, |
| 78 | .init_irq = spear3xx_init_irq, | 77 | .init_irq = spear3xx_init_irq, |
| 79 | .timer = &spear_sys_timer, | 78 | .timer = &spear3xx_timer, |
| 80 | .init_machine = spear320_evb_init, | 79 | .init_machine = spear320_evb_init, |
| 81 | MACHINE_END | 80 | MACHINE_END |
