Re: [PATCH 06/10] MIPS: add qemu malta board support to barebox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +
> +NS16550_READ_WRITE_UART_FUNC(malta, 0, 0)
> +
> +static struct NS16550_plat serial_plat = {
> +	.clock = 1843200, /* no matter */
> +	.f_caps = CONSOLE_STDIN | CONSOLE_STDOUT | CONSOLE_STDERR,
> +	.reg_read = malta_uart_read,
> +	.reg_write = malta_uart_write,
> +};
> +
> +/* we are expecting always one serial interface */
> +static struct device_d generic_malta_serial_device = {
> +	.name = "serial_ns16550",
> +	.map_base = DEBUG_LL_UART_ADDR,
> +	.size = 8,
> +	.platform_data = (void *)&serial_plat,
> +};
please rebase this against next branch

map_base and size are depricated

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux