]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/u-boot/boot.cmd
u-boot: add Raspberry Pi 3 Model B+
[ipfire-2.x.git] / config / u-boot / boot.cmd
index d740e756e695e9fb89b3018cc7959919d8292908..c6411def1c1155405028d32ea68fddb1a25981df 100644 (file)
@@ -34,10 +34,14 @@ fi;
 if test "${SERIAL-CONSOLE}" = "ON"; then
        if test ${console} = ""; then
                if test "${board}" = "rpi"; then
-                       if test "${fdtfile}" = "bcm2837-rpi-3-b.dtb"; then
+                       if test "${fdtfile}" = "bcm2837-rpi-3-b-plus.dtb"; then
                                setenv console ttyS1,115200n8;
                        else
-                               setenv console ttyAMA0,115200n8;
+                               if test "${fdtfile}" = "bcm2837-rpi-3-b.dtb"; then
+                                       setenv console ttyS1,115200n8;
+                               else
+                                       setenv console ttyAMA0,115200n8;
+                               fi;
                        fi;
                else
                        setenv console ttyS0,115200n8;