diff options
author | Furquan Shaikh <furquan@google.com> | 2020-06-13 00:16:26 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-06-17 18:51:25 +0000 |
commit | ca481ee87f3d10d2b2ca6de8151a79850f059585 (patch) | |
tree | 6e9dcc62527b1443a814f02197827f004d06c18a /src/mainboard/ibase/Kconfig | |
parent | 4c466c9c9624a02d287092f1cfa87fde77f0cb3c (diff) |
soc/amd/picasso: fix build if PICASSO_UART is unset
This change includes uart.c in bootblock, romstage, ramstage and
verstage unconditionally because this file is handling more than just
the UART console configuration. This allows boards to take advantage
of picasso_uart_mmio_ops even if PICASSO_UART is not selected.
uart_platform_base and uart_platform_refclk mustn't be provided if
PICASSO_UART is unset, so add an #if around those functions.
BUG=b:158346697
TEST=Mandolin builds again.
Change-Id: If1173034b0d2ed32f77241768e1e8abb208aac3a
Signed-off-by: Furquan Shaikh <furquan@google.com>
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42339
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/ibase/Kconfig')
0 files changed, 0 insertions, 0 deletions