diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-12-21 03:46:58 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2021-01-21 18:50:11 +0000 |
commit | f6d320060d4ab96fbe383cb9fd01fa43a8e022b7 (patch) | |
tree | 179eb594363e3b2e5d432175d5cfac0bd8122a85 /src/mainboard/intel/kblrvp/ec.h | |
parent | 3840bcc19e28401e5fd4e3b4c0f0d1438fbbdeed (diff) | |
download | coreboot-f6d320060d4ab96fbe383cb9fd01fa43a8e022b7.tar.xz |
mb/intel/minnow3: do UART pad configuration at board-level
UART pad configuration should not be done in common code, because that
may cause short circuits, when the user sets a wrong UART index. Thus,
add the corresponding pads to the early UART gpio table for the board as
a first step. Common UART pad config code then gets dropped in CB:48829.
Also switch to `bootblock_mainboard_early_init` to configure the pads in
early bootblock before console initialization, to make the console work
as early as possible. The board does not do any other gpio configuration
in bootblock, so this should not influence behaviour in a negative way
(e.g. breaking overrides).
Change-Id: I0b956427a9cec56d06b03f7f05138f75137b4ea3
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49437
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/kblrvp/ec.h')
0 files changed, 0 insertions, 0 deletions