Re: [U-Boot] [PATCH] WIP: fdt: Add serial port controlled by device tree

2012-03-14 Thread Simon Glass
Hi Mike, On Tue, Feb 21, 2012 at 7:47 AM, Mike Frysinger wrote: > On Tuesday 21 February 2012 01:41:21 Simon Glass wrote: >> --- /dev/null >> +++ b/common/fdt_decode.c This whole file was not supposed to be there. I removed it from being needed but somehow not from the patch, sorry. >> >> +stat

Re: [U-Boot] [PATCH] WIP: fdt: Add serial port controlled by device tree

2012-02-21 Thread Mike Frysinger
On Tuesday 21 February 2012 01:41:21 Simon Glass wrote: > --- /dev/null > +++ b/common/fdt_decode.c > > +static struct fdt_compat compat_types[] = { const > +void fdt_decode_uart_calc_divisor(struct fdt_uart *uart) > +{ > + if (uart->multiplier && uart->baudrate) > + uart->divisor

[U-Boot] [PATCH] WIP: fdt: Add serial port controlled by device tree

2012-02-20 Thread Simon Glass
This adds a new console serial port which is implemented by the driver selected in the device tree. It works by redirecting to another driver. It might be useful while we don't have proper serial device model and the drivers that do exist don't understand the device tree. This patch is provided to