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

2015-08-06 Thread Hans de Goede
Hi, On 06-08-15 18:10, Simon Glass wrote: hi Hans, On 1 August 2015 at 10:05, Simon Glass s...@chromium.org wrote: Hi Hans, On 25 July 2015 at 03:58, Hans de Goede hdego...@redhat.com wrote: Currently the serial code assumes that there is always at least one serial port (and panics /

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

2015-08-06 Thread Simon Glass
hi Hans, On 1 August 2015 at 10:05, Simon Glass s...@chromium.org wrote: Hi Hans, On 25 July 2015 at 03:58, 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

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

2015-08-01 Thread Simon Glass
Hi Hans, On 25 July 2015 at 03:58, 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

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

2015-07-25 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