S5P: Serial: Add fdt support to driver
authorRajeshwari Shinde <rajeshwari.s@samsung.com>
Mon, 24 Jun 2013 11:17:22 +0000 (16:47 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 24 Jun 2013 11:47:41 +0000 (20:47 +0900)
commitd4ec8f08856bea73a0def00a7f09dff6a3541604
tree8c1bebe1938236b24805bf24e5706783c81e24e4
parent4603e8cf8b217be397559d9c9c0cf741e20efd8b
S5P: Serial: Add fdt support to driver

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@samsung.com>
Signed-off-by: Gabe Black <gabeblack@google.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/serial/serial_s5p.c