Skip to contentSkip to conversation

rpi: Allow to boot without serial

PATCH New Alexander Graf 1 participant 1 message Apr 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpi: Allow to boot without serial

When we enable CONFIG_OF_BOARD on Raspberry Pis, we may end up without serial console support in early boot. Hence we need to make the serial port optional, otherwise we will never get to the point where serial would be probed.

---
 configs/rpi_0_w_defconfig | 1 +
 configs/rpi_2_defconfig   | 1 +
 configs/rpi_defconfig     | 1 +
 3 files changed, 3 insertions(+)
configs/rpi_0_w_defconfig +1 -0
index 04717d5e50..6e02cf34e9 100644
@@ -34,3 +34,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
configs/rpi_2_defconfig +1 -0
index f8203c9d47..dd3c60cc93 100644
@@ -34,3 +34,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
configs/rpi_defconfig +1 -0
index d13d3d3e2e..2c0412d8ea 100644
@@ -34,3 +34,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
Signature · 1 line
2.12.3