summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/facebook/fbg1701/com_init.c3
-rw-r--r--src/mainboard/facebook/fbg1701/onboard.h3
-rw-r--r--src/mainboard/portwell/m107/com_init.c3
-rw-r--r--src/mainboard/portwell/m107/onboard.h2
4 files changed, 2 insertions, 9 deletions
diff --git a/src/mainboard/facebook/fbg1701/com_init.c b/src/mainboard/facebook/fbg1701/com_init.c
index f19aba311c..fc640dd236 100644
--- a/src/mainboard/facebook/fbg1701/com_init.c
+++ b/src/mainboard/facebook/fbg1701/com_init.c
@@ -17,9 +17,8 @@
#include <bootblock_common.h>
#include <device/pnp_ops.h>
-#include "onboard.h"
-#define SERIAL_DEV PNP_DEV(ITE8528_CMD_PORT, 1) /* ITE8528 UART1 */
+#define SERIAL_DEV PNP_DEV(0x6E, 1) /* ITE8528 UART1 */
void bootblock_mainboard_early_init(void)
{
diff --git a/src/mainboard/facebook/fbg1701/onboard.h b/src/mainboard/facebook/fbg1701/onboard.h
index c22a63a04a..6e094ab6e9 100644
--- a/src/mainboard/facebook/fbg1701/onboard.h
+++ b/src/mainboard/facebook/fbg1701/onboard.h
@@ -21,9 +21,6 @@
/* SD CARD gpio */
#define SDCARD_CD 81 /* Not used */
-#define ITE8528_CMD_PORT 0x6E
-#define ITE8528_DATA_PORT 0x6F
-
/* Define the items to be measured or verified */
#define FSP (const char *)"fsp.bin"
#define CMOS_LAYOUT (const char *)"cmos_layout.bin"
diff --git a/src/mainboard/portwell/m107/com_init.c b/src/mainboard/portwell/m107/com_init.c
index f19aba311c..fc640dd236 100644
--- a/src/mainboard/portwell/m107/com_init.c
+++ b/src/mainboard/portwell/m107/com_init.c
@@ -17,9 +17,8 @@
#include <bootblock_common.h>
#include <device/pnp_ops.h>
-#include "onboard.h"
-#define SERIAL_DEV PNP_DEV(ITE8528_CMD_PORT, 1) /* ITE8528 UART1 */
+#define SERIAL_DEV PNP_DEV(0x6E, 1) /* ITE8528 UART1 */
void bootblock_mainboard_early_init(void)
{
diff --git a/src/mainboard/portwell/m107/onboard.h b/src/mainboard/portwell/m107/onboard.h
index fd4e4d6516..3a5dee2f12 100644
--- a/src/mainboard/portwell/m107/onboard.h
+++ b/src/mainboard/portwell/m107/onboard.h
@@ -21,6 +21,4 @@
/* SD CARD gpio */
#define SDCARD_CD 81 /* Not used */
-#define ITE8528_CMD_PORT 0x6E
-#define ITE8528_DATA_PORT 0x6F
#endif