aboutsummaryrefslogtreecommitdiff
path: root/src/superio/aspeed/common/early_serial.c
diff options
context:
space:
mode:
authorBryantOu <Bryant.Ou.Q@gmail.com>2020-04-17 02:15:17 -0700
committerAndrey Petrov <andrey.petrov@gmail.com>2020-04-29 16:06:02 +0000
commitab90782e7220d188e916680da21b49a011208f3f (patch)
tree3574f4b6a6badf8e4f85c4a1a6d204d1075997d7 /src/superio/aspeed/common/early_serial.c
parent60e0dc3919324ae7a5c3f2766790b0c76c39f25c (diff)
superio/aspeed/common: Add early configure functions
Add LPC read/write functions for access aspeed's memory, also create config data table to config memory and SIO. These functions are used at early stages to configure devices. Signed-off-by: Bryant Ou <Bryant.Ou.Q@gmail.com> Change-Id: Ib59c29a042b2c7bf196b8a5bd5218704d8075855 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40483 Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/aspeed/common/early_serial.c')
-rw-r--r--src/superio/aspeed/common/early_serial.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/superio/aspeed/common/early_serial.c b/src/superio/aspeed/common/early_serial.c
index 086e9ddf1a..4051fd522a 100644
--- a/src/superio/aspeed/common/early_serial.c
+++ b/src/superio/aspeed/common/early_serial.c
@@ -27,9 +27,6 @@
#include <stdint.h>
#include "aspeed.h"
-#define ASPEED_ENTRY_KEY 0xA5
-#define ASPEED_EXIT_KEY 0xAA
-
/* Enable configuration: pass entry key '0xA5' into index port dev. */
void pnp_enter_conf_state(pnp_devfn_t dev)
{