[U-Boot] [PATCH v3 09/16] dm: exynos: Move serial to driver model

Tom Rini trini at ti.com
Wed Jul 30 17:38:41 CEST 2014


On Wed, Jul 30, 2014 at 03:49:46AM -0600, Simon Glass wrote:

> Change the Exynos serial driver to work with driver model and switch over
> all Exynos5 boards to use it.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v3:
> - Avoid reordering functions

Yay.

> @@ -108,14 +91,11 @@ static int serial_init_dev(const int dev_index)
>  	/* No interrupts, no DMA, pure polling */
>  	writel(0x245, &uart->ucon);
>  
> -	serial_setbrg_dev(dev_index);
> -
>  	return 0;
>  }

So setbrg is called elsewhere, in a more common area?  That's documented
somewhere right?  This seems otherwise to be a straight-forward
conversion.  Things we used to loop for in the driver are now handled a
bit higher up and otherwise we find what to talk to in a slightly
different manner.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140730/41d8c6f2/attachment.pgp>


More information about the U-Boot mailing list