[U-Boot] [PATCH 3/4 V3] S5P: Serial: Add fdt support to driver

Simon Glass sjg at chromium.org
Fri Mar 15 21:28:13 CET 2013


Hi Rajeshwari,

On Fri, Mar 15, 2013 at 3:43 AM, Rajeshwari Shinde
<rajeshwari.s at samsung.com> wrote:
> This patch adds FDT support to the serial s5p driver.
> At present disabling the serial console (from the device tree) crashes
> U-Boot. Add checks for this case, so that execution can continue without
> a serial console.
> It also enables the serial_s5p driver recognize the silent_console option.
>
> Signed-off-by: Abhilash Kesavan <a.kesavan at samsung.com>
> Signed-off-by: Gabe Black <gabeblack at google.com>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>

This is a little limited in that we only have one port with FDT, but
that's all we need for now (perhaps forever). So it looks fine to me.

Acked-by: Simon Glass <sjg at chromium.org>

> ---
> Changes in V2:
>         - None
> Changes in V3:
>         - Moved driver config structure to data section.
>         - Changed silent_console to silent-console.
>         - Did put a check for base address before doing fdt decoding.
>  drivers/serial/serial_s5p.c |   78 +++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 78 insertions(+), 0 deletions(-)
>


More information about the U-Boot mailing list