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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Jul 24 22:56:33 EDT 2011


> +
> +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.



More information about the barebox mailing list