summaryrefslogtreecommitdiff
path: root/common/fdt_decode.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-05-15 07:56:25 -0700
committerSimon Glass <sjg@chromium.org>2011-08-24 10:01:33 -0700
commit3a47c614c2f5f204ee9a6428df03df3e85fe0b51 (patch)
treeb320ae1cb0ec40fc99d737f9a86b3bfbfa042737 /common/fdt_decode.c
parent16016e7f644ba2301848f7769af6192cafc45c20 (diff)
fdt: Add serial port controlled by device tree
This adds a new console serial port which is implemented by the driver selected in the device tree. BUG=chromium-os:11623 TEST=build and boot U-Boot on Seaboard Change-Id: I0e41f795a78d165c2907a9f8faeeabe1a2639a18 Reviewed-on: http://gerrit.chromium.org/gerrit/958 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/fdt_decode.c')
-rw-r--r--common/fdt_decode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/fdt_decode.c b/common/fdt_decode.c
index 6af6af9907..2541147cb2 100644
--- a/common/fdt_decode.c
+++ b/common/fdt_decode.c
@@ -32,6 +32,7 @@
static struct fdt_compat compat_types[] = {
{ COMPAT_UNKNOWN, "<none>" },
{ COMPAT_SPI_UART_SWITCH, "spi-uart-select" },
+ { COMPAT_SERIAL_NS16550, "ns16550" },
};
/**