diff options
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200.c')
-rw-r--r-- | arch/arm/mach-at91/at91rm9200.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index dd6e2de13420..0df1045311e4 100644 --- a/arch/arm/mach-at91/at91rm9200.c +++ b/arch/arm/mach-at91/at91rm9200.c | |||
@@ -295,7 +295,7 @@ static void at91rm9200_idle(void) | |||
295 | * Disable the processor clock. The processor will be automatically | 295 | * Disable the processor clock. The processor will be automatically |
296 | * re-enabled by an interrupt or by a reset. | 296 | * re-enabled by an interrupt or by a reset. |
297 | */ | 297 | */ |
298 | at91_sys_write(AT91_PMC_SCDR, AT91_PMC_PCK); | 298 | at91_pmc_write(AT91_PMC_SCDR, AT91_PMC_PCK); |
299 | } | 299 | } |
300 | 300 | ||
301 | static void at91rm9200_restart(char mode, const char *cmd) | 301 | static void at91rm9200_restart(char mode, const char *cmd) |
@@ -303,8 +303,8 @@ static void at91rm9200_restart(char mode, const char *cmd) | |||
303 | /* | 303 | /* |
304 | * Perform a hardware reset with the use of the Watchdog timer. | 304 | * Perform a hardware reset with the use of the Watchdog timer. |
305 | */ | 305 | */ |
306 | at91_sys_write(AT91_ST_WDMR, AT91_ST_RSTEN | AT91_ST_EXTEN | 1); | 306 | at91_st_write(AT91_ST_WDMR, AT91_ST_RSTEN | AT91_ST_EXTEN | 1); |
307 | at91_sys_write(AT91_ST_CR, AT91_ST_WDRST); | 307 | at91_st_write(AT91_ST_CR, AT91_ST_WDRST); |
308 | } | 308 | } |
309 | 309 | ||
310 | /* -------------------------------------------------------------------- | 310 | /* -------------------------------------------------------------------- |
@@ -319,6 +319,8 @@ static void __init at91rm9200_map_io(void) | |||
319 | 319 | ||
320 | static void __init at91rm9200_ioremap_registers(void) | 320 | static void __init at91rm9200_ioremap_registers(void) |
321 | { | 321 | { |
322 | at91rm9200_ioremap_st(AT91RM9200_BASE_ST); | ||
323 | at91_ioremap_ramc(0, AT91RM9200_BASE_MC, 256); | ||
322 | } | 324 | } |
323 | 325 | ||
324 | static void __init at91rm9200_initialize(void) | 326 | static void __init at91rm9200_initialize(void) |