summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-05-01 00:36:12 +0200
committerMinkyu Kang <mk7.kang@samsung.com>2016-05-26 12:55:49 +0900
commit086e13c5f6f79a68246d6b803cf4736cb6815e44 (patch)
tree9dc6f027a567b0e7450f5b7f02402e8c78c571a5 /arch/arm/cpu
parentc06bbab65b79c2a1c077d78269ed2bfa87f6e923 (diff)
downloadblackbird-obmc-uboot-086e13c5f6f79a68246d6b803cf4736cb6815e44.tar.gz
blackbird-obmc-uboot-086e13c5f6f79a68246d6b803cf4736cb6815e44.zip
ARM: exynos: Disable serial support in SPL
The exynos5 platforms use DM in U-Boot and do not use DM in SPL. The serial driver, serial_s5p.c, is DM-only. This is OK for U-Boot, but in SPL, this will fail with the following compile error: drivers/built-in.o: In function `get_current': ...u-boot/drivers/serial/serial.c:387: undefined reference to `default_serial_console' This warning happens because common/console.c is compiled into U-Boot SPL if CONFIG_SPL_SERIAL_SUPPORT . The common/console.c invokes serial_*() functions and since exynos5 does not use DM in SPL, these functions come from drivers/serial/serial.c . The serial_*() locate default serial port by calling default_serial_console(), but because the serial_s5p.c is DM-only, it does no longer define default_serial_console(). Thus the error. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/cpu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud