]> git.baikalelectronics.ru Git - uboot.git/commit
spi: Avoid checking console in SPL
authorSimon Glass <sjg@chromium.org>
Mon, 28 Feb 2022 19:08:28 +0000 (12:08 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 6 Apr 2022 18:01:42 +0000 (14:01 -0400)
commit09544411ab6c85193ee8345c0d81beaf179aad61
tree4ba7948600d47d63ff15b7dd71d82a159b61e152
parentd46ec1acea32cad3d15af76ee74e78e83e0a02ee
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>
drivers/mtd/spi/spi-nor-core.c