omap1.c (17a5bbb44df9a4a79166332bc26e2d8ca6bd8fa8) | omap1.c (9bca0edb282de0007a4f068d9d20f3e3c3aadef7) |
---|---|
1/* 2 * TI OMAP processors emulation. 3 * 4 * Copyright (C) 2006-2008 Andrzej Zaborowski <balrog@zabor.org> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation; either version 2 or --- 3949 unchanged lines hidden (view full) --- 3958 omap_tcmi_init(system_memory, 0xfffecc00, s); 3959 3960 s->uart[0] = omap_uart_init(0xfffb0000, 3961 qdev_get_gpio_in(s->ih[1], OMAP_INT_UART1), 3962 omap_findclk(s, "uart1_ck"), 3963 omap_findclk(s, "uart1_ck"), 3964 s->drq[OMAP_DMA_UART1_TX], s->drq[OMAP_DMA_UART1_RX], 3965 "uart1", | 1/* 2 * TI OMAP processors emulation. 3 * 4 * Copyright (C) 2006-2008 Andrzej Zaborowski <balrog@zabor.org> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation; either version 2 or --- 3949 unchanged lines hidden (view full) --- 3958 omap_tcmi_init(system_memory, 0xfffecc00, s); 3959 3960 s->uart[0] = omap_uart_init(0xfffb0000, 3961 qdev_get_gpio_in(s->ih[1], OMAP_INT_UART1), 3962 omap_findclk(s, "uart1_ck"), 3963 omap_findclk(s, "uart1_ck"), 3964 s->drq[OMAP_DMA_UART1_TX], s->drq[OMAP_DMA_UART1_RX], 3965 "uart1", |
3966 serial_hds[0]); | 3966 serial_hd(0)); |
3967 s->uart[1] = omap_uart_init(0xfffb0800, 3968 qdev_get_gpio_in(s->ih[1], OMAP_INT_UART2), 3969 omap_findclk(s, "uart2_ck"), 3970 omap_findclk(s, "uart2_ck"), 3971 s->drq[OMAP_DMA_UART2_TX], s->drq[OMAP_DMA_UART2_RX], 3972 "uart2", | 3967 s->uart[1] = omap_uart_init(0xfffb0800, 3968 qdev_get_gpio_in(s->ih[1], OMAP_INT_UART2), 3969 omap_findclk(s, "uart2_ck"), 3970 omap_findclk(s, "uart2_ck"), 3971 s->drq[OMAP_DMA_UART2_TX], s->drq[OMAP_DMA_UART2_RX], 3972 "uart2", |
3973 serial_hds[0] ? serial_hds[1] : NULL); | 3973 serial_hd(0) ? serial_hd(1) : NULL); |
3974 s->uart[2] = omap_uart_init(0xfffb9800, 3975 qdev_get_gpio_in(s->ih[0], OMAP_INT_UART3), 3976 omap_findclk(s, "uart3_ck"), 3977 omap_findclk(s, "uart3_ck"), 3978 s->drq[OMAP_DMA_UART3_TX], s->drq[OMAP_DMA_UART3_RX], 3979 "uart3", | 3974 s->uart[2] = omap_uart_init(0xfffb9800, 3975 qdev_get_gpio_in(s->ih[0], OMAP_INT_UART3), 3976 omap_findclk(s, "uart3_ck"), 3977 omap_findclk(s, "uart3_ck"), 3978 s->drq[OMAP_DMA_UART3_TX], s->drq[OMAP_DMA_UART3_RX], 3979 "uart3", |
3980 serial_hds[0] && serial_hds[1] ? serial_hds[2] : NULL); | 3980 serial_hd(0) && serial_hd(1) ? serial_hd(2) : NULL); |
3981 3982 s->dpll[0] = omap_dpll_init(system_memory, 0xfffecf00, 3983 omap_findclk(s, "dpll1")); 3984 s->dpll[1] = omap_dpll_init(system_memory, 0xfffed000, 3985 omap_findclk(s, "dpll2")); 3986 s->dpll[2] = omap_dpll_init(system_memory, 0xfffed100, 3987 omap_findclk(s, "dpll3")); 3988 --- 91 unchanged lines hidden --- | 3981 3982 s->dpll[0] = omap_dpll_init(system_memory, 0xfffecf00, 3983 omap_findclk(s, "dpll1")); 3984 s->dpll[1] = omap_dpll_init(system_memory, 0xfffed000, 3985 omap_findclk(s, "dpll2")); 3986 s->dpll[2] = omap_dpll_init(system_memory, 0xfffed100, 3987 omap_findclk(s, "dpll3")); 3988 --- 91 unchanged lines hidden --- |