spi: Avoid checking console in SPL
When SPI flash is used in SPL there is no console, so ctrlc() cannot be
called. Add a condition to fix this.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment
When SPI flash is used in SPL there is no console, so ctrlc() cannot be
called. Add a condition to fix this.
Signed-off-by:
Simon Glass <sjg@chromium.org>