aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/txx9/rbtx4939
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/txx9/rbtx4939')
-rw-r--r--arch/mips/txx9/rbtx4939/setup.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/txx9/rbtx4939/setup.c b/arch/mips/txx9/rbtx4939/setup.c
index 4199c6fd4d1d..b0c241ecf603 100644
--- a/arch/mips/txx9/rbtx4939/setup.c
+++ b/arch/mips/txx9/rbtx4939/setup.c
@@ -498,6 +498,11 @@ static void __init rbtx4939_device_init(void)
498 tx4939_wdt_init(); 498 tx4939_wdt_init();
499 tx4939_ata_init(); 499 tx4939_ata_init();
500 tx4939_rtc_init(); 500 tx4939_rtc_init();
501 tx4939_dmac_init(0, 2);
502 tx4939_aclc_init();
503 platform_device_register_simple("txx9aclc-generic", -1, NULL, 0);
504 tx4939_sramc_init();
505 tx4939_rng_init();
501} 506}
502 507
503static void __init rbtx4939_setup(void) 508static void __init rbtx4939_setup(void)
@@ -507,10 +512,10 @@ static void __init rbtx4939_setup(void)
507 rbtx4939_ebusc_setup(); 512 rbtx4939_ebusc_setup();
508 /* always enable ATA0 */ 513 /* always enable ATA0 */
509 txx9_set64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_ATA0MODE); 514 txx9_set64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_ATA0MODE);
510 rbtx4939_update_ioc_pen();
511 if (txx9_master_clock == 0) 515 if (txx9_master_clock == 0)
512 txx9_master_clock = 20000000; 516 txx9_master_clock = 20000000;
513 tx4939_setup(); 517 tx4939_setup();
518 rbtx4939_update_ioc_pen();
514#ifdef HAVE_RBTX4939_IOSWAB 519#ifdef HAVE_RBTX4939_IOSWAB
515 ioswabw = rbtx4939_ioswabw; 520 ioswabw = rbtx4939_ioswabw;
516 __mem_ioswabw = rbtx4939_mem_ioswabw; 521 __mem_ioswabw = rbtx4939_mem_ioswabw;