• Peter Hurley's avatar
    serial: 8250_omap: Add omap8250 earlycon · 75d611bf
    Peter Hurley authored
    Add DT earlycon for 8250_omap driver. This boot console is included
    for kernels built with CONFIG_SERIAL_EARLYCON=y, CONFIG_OF=y,
    CONFIG_SERIAL_8250_OMAP=y, and CONFIG_OF_EARLY_FLATTREE=y.
    
    This boot console is enabled with the command line option "earlycon"
    (without "=<name>...") when the DT 'stdout-path' property matches a
    compatible uart. For example,
    
    / {
       chosen {
            stdout-path = "serial0:115200";
       };
    
       ....
    
       aliases {
            serial0 = &uart0;
       };
    
       ....
    
       ocp : ocp {
            uart0 : serial@44e09000 {
                 compatible = "ti,omap3-uart";
            }
       };
    };
    Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    75d611bf
8250_early.c 4.8 KB