setup.c (f48c8c958a2d39f13dace880d15a6e711aafe577) setup.c (742cd5867b2ef7ce865d7ab67574c4e3aa1fb155)
1/*
2 * Toshiba rbtx4927 specific setup
3 *
4 * Author: MontaVista Software, Inc.
5 * source@mvista.com
6 *
7 * Copyright 2001-2002 MontaVista Software Inc.
8 *

--- 323 unchanged lines hidden (view full) ---

332}
333
334static void __init rbtx4927_device_init(void)
335{
336 toshiba_rbtx4927_rtc_init();
337 rbtx4927_ne_init();
338 tx4927_wdt_init();
339 rbtx4927_mtd_init();
1/*
2 * Toshiba rbtx4927 specific setup
3 *
4 * Author: MontaVista Software, Inc.
5 * source@mvista.com
6 *
7 * Copyright 2001-2002 MontaVista Software Inc.
8 *

--- 323 unchanged lines hidden (view full) ---

332}
333
334static void __init rbtx4927_device_init(void)
335{
336 toshiba_rbtx4927_rtc_init();
337 rbtx4927_ne_init();
338 tx4927_wdt_init();
339 rbtx4927_mtd_init();
340 if (TX4927_REV_PCODE() == 0x4927)
340 if (TX4927_REV_PCODE() == 0x4927) {
341 tx4927_dmac_init(2);
341 tx4927_dmac_init(2);
342 else
342 tx4927_aclc_init(0, 1);
343 } else {
343 tx4938_dmac_init(0, 2);
344 tx4938_dmac_init(0, 2);
345 tx4938_aclc_init();
346 }
347 platform_device_register_simple("txx9aclc-generic", -1, NULL, 0);
344 txx9_iocled_init(RBTX4927_LED_ADDR - IO_BASE, -1, 3, 1, "green", NULL);
345 rbtx4927_gpioled_init();
346}
347
348struct txx9_board_vec rbtx4927_vec __initdata = {
349 .system = "Toshiba RBTX4927",
350 .prom_init = rbtx4927_prom_init,
351 .mem_setup = rbtx4927_mem_setup,

--- 20 unchanged lines hidden ---
348 txx9_iocled_init(RBTX4927_LED_ADDR - IO_BASE, -1, 3, 1, "green", NULL);
349 rbtx4927_gpioled_init();
350}
351
352struct txx9_board_vec rbtx4927_vec __initdata = {
353 .system = "Toshiba RBTX4927",
354 .prom_init = rbtx4927_prom_init,
355 .mem_setup = rbtx4927_mem_setup,

--- 20 unchanged lines hidden ---