diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-08 01:58:47 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-08-10 10:53:22 +0000 |
commit | 2719a451c335939a5f4fcf5682d1783f9dd0e697 (patch) | |
tree | f6c82a41ff7bc4fef9a9b0ab0bd79884bee739d1 /src/mainboard/lippert/frontrunner-af/bootblock-fr.c | |
parent | bc9757ff1748604fe7f4f212ea1fa7b01c68a5a5 (diff) |
mb/lippert: Unify mainboards
Do it quick and dirty but in a reproducible manner. Variants will be set
up properly in subsequent commits.
Tested with BUILD_TIMELESS=1, both Lippert FrontRunner-AF and Toucan-AF
remain identical.
Change-Id: I71ff50099787e7806a9ab67429890a1c77061929
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43274
Reviewed-by: Michael Niewöhner
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lippert/frontrunner-af/bootblock-fr.c')
-rw-r--r-- | src/mainboard/lippert/frontrunner-af/bootblock-fr.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/lippert/frontrunner-af/bootblock-fr.c b/src/mainboard/lippert/frontrunner-af/bootblock-fr.c new file mode 100644 index 0000000000..070da4e7b5 --- /dev/null +++ b/src/mainboard/lippert/frontrunner-af/bootblock-fr.c @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <bootblock_common.h> +#include <northbridge/amd/agesa/state_machine.h> +#include <superio/smsc/smscsuperio/smscsuperio.h> + +#define SERIAL_DEV PNP_DEV(0x4e, SMSCSUPERIO_SP1) + +void bootblock_mainboard_early_init(void) +{ + smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE); +} |