Re: [U-Boot] [PATCH v2] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-08-10 Thread Simon Glass
On 10 August 2015 at 06:59, Simon Glass s...@chromium.org wrote: On 8 August 2015 at 09:45, Hans de Goede hdego...@redhat.com wrote: Currently the serial code assumes that there is always at least one serial port (and panics / crashes due to null pointer dereferences when there is none).

Re: [U-Boot] [PATCH v2] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-08-10 Thread Simon Glass
On 8 August 2015 at 09:45, Hans de Goede hdego...@redhat.com wrote: Currently the serial code assumes that there is always at least one serial port (and panics / crashes due to null pointer dereferences when there is none). This makes it impossible to use u-boot on boards where there is no

[U-Boot] [PATCH v2] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-08-08 Thread Hans de Goede
Currently the serial code assumes that there is always at least one serial port (and panics / crashes due to null pointer dereferences when there is none). This makes it impossible to use u-boot on boards where there is no (debug) serial port, because e.g. all uart pins are muxed to another