eb723f01af
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 a bootblock gpio table for the board as a first step. Common UART pad config code then gets dropped in CB:48829. Change-Id: Iad40b6315a29e7aea612a3e1a169372d296d1d6c Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49443 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
14 lines
257 B
Makefile
14 lines
257 B
Makefile
## SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
|
|
|
|
bootblock-y += bootblock.c
|
|
|
|
romstage-y += romstage.c
|
|
|
|
ramstage-y += mainboard.c
|
|
ramstage-y += ec.c
|
|
|
|
smm-y += ec.c
|
|
|
|
subdirs-y += variants/$(VARIANT_DIR)
|