]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
x86: edison: Use proper number of serial interface
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 28 Feb 2019 08:10:06 +0000 (10:10 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 10 Mar 2019 00:17:00 +0000 (08:17 +0800)
The console is actually serial #2. When we would like to enable other ports,
this would be not okay to mess up with the ordering.

Thus, fix the number of default console interface to be 2.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/edison.dts

index ca8dfb42872386929e39017d7728e7a6977d8509..c3a7ae467b0b3a62687c0c4b6c09dfe9eff0f670 100644 (file)
        compatible = "intel,edison";
 
        aliases {
-               serial0 = &serial0;
+               serial2 = &serial2;
        };
 
        chosen {
-               stdout-path = &serial0;
+               stdout-path = &serial2;
        };
 
        cpus {
@@ -53,7 +53,7 @@
                          0x01000000 0x0 0x2000 0x2000 0 0xe000>;
        };
 
-       serial0: serial@ff010180 {
+       serial2: serial@ff010180 {
                compatible = "intel,mid-uart";
                reg = <0xff010180 0x100>;
                reg-shift = <0>;