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.

Reviewed-by: Bin Meng <bmeng...@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
---
 arch/x86/dts/edison.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/dts/edison.dts b/arch/x86/dts/edison.dts
index 0dd72407ea..b59171cb50 100644
--- a/arch/x86/dts/edison.dts
+++ b/arch/x86/dts/edison.dts
@@ -17,11 +17,11 @@
        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>;
-- 
2.20.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to