[haiku-commits] haiku: hrev51608 - src/system/kernel/platform/u-boot

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 23 Nov 2017 17:27:43 +0100 (CET)

hrev51608 adds 1 changeset to branch 'master'
old head: b247f935d133a42c427cad8a759a1bf2f65bc290
new head: eb81dec460ef5218228fd62fbe9df94bb46aea51
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=eb81dec460ef+%5Eb247f935d133

----------------------------------------------------------------------------

eb81dec460ef: kernel/u-boot: Add a few missed fdt compat's for omap uart

                          [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev51608
Commit:      eb81dec460ef5218228fd62fbe9df94bb46aea51
URL:         http://cgit.haiku-os.org/haiku/commit/?id=eb81dec460ef
Author:      Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date:        Mon Nov 20 15:53:02 2017 UTC

----------------------------------------------------------------------------

1 file changed, 5 insertions(+), 1 deletion(-)
src/system/kernel/platform/u-boot/fdt_serial.cpp | 6 +++++-

----------------------------------------------------------------------------

diff --git a/src/system/kernel/platform/u-boot/fdt_serial.cpp 
b/src/system/kernel/platform/u-boot/fdt_serial.cpp
index 3d988c0..2c8f298 100644
--- a/src/system/kernel/platform/u-boot/fdt_serial.cpp
+++ b/src/system/kernel/platform/u-boot/fdt_serial.cpp
@@ -104,7 +104,11 @@ debug_uart_from_fdt(const void *fdt)
        #ifdef __ARM__
        } else if (fdt_node_check_compatible(fdt, node, "ti,omap3-uart") == 0
                || fdt_node_check_compatible(fdt, node, "ti,omap4-uart") == 0
-               || fdt_node_check_compatible(fdt, node, "ti,omap5-uart") == 0) {
+               || fdt_node_check_compatible(fdt, node, "ti,omap5-uart") == 0
+               || fdt_node_check_compatible(fdt, node, "ti,am3352-uart") == 0
+               || fdt_node_check_compatible(fdt, node, "ti,am4372-uart") == 0
+               || fdt_node_check_compatible(fdt, node, "ti,dra742-uart") == 0) 
{
+               // TODO: ti,am* and ti,dr* have some special quirks.
                TRACE(("serial: Found omap 8250 serial UART!\n"));
                uart = arch_get_uart_8250_omap(regs, clock);
        } else if (fdt_node_check_compatible(fdt, node, "arm,pl011") == 0


Other related posts:

  • » [haiku-commits] haiku: hrev51608 - src/system/kernel/platform/u-boot - kallisti5