From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 30 Jul 2014 11:38:41 -0400 Subject: [U-Boot] [PATCH v3 09/16] dm: exynos: Move serial to driver model In-Reply-To: <1406713793-12828-10-git-send-email-sjg@chromium.org> References: <1406713793-12828-1-git-send-email-sjg@chromium.org> <1406713793-12828-10-git-send-email-sjg@chromium.org> Message-ID: <20140730153841.GC13341@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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: