summaryrefslogtreecommitdiff
path: root/src/mainboard/facebook/fbg1701/onboard.h
diff options
context:
space:
mode:
authorWim Vervoorn <wvervoorn@eltan.com>2019-10-17 13:20:42 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-10-18 12:27:12 +0000
commit467802b6285b2b9a76f755dffeef61194ee35373 (patch)
treedfbaa46da2dadd63d625ebdd2d0fe0dfe55be438 /src/mainboard/facebook/fbg1701/onboard.h
parentbac6946956ac2b801b9895f7443dca055a639d64 (diff)
mb/facebook/fbg1701: separate cpld support
Move all code involving the cpld to a single file. Rename mainboard_read_pcb_version() to cpld_read_pcb_version(). BUG=N/A TEST=tested on fbg1701 board Change-Id: I9ee9a2c605e8b63baa7d64af92f45aa07e0d9d9e Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36095 Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/facebook/fbg1701/onboard.h')
-rw-r--r--src/mainboard/facebook/fbg1701/onboard.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mainboard/facebook/fbg1701/onboard.h b/src/mainboard/facebook/fbg1701/onboard.h
index 2c78d15961..cb784daf69 100644
--- a/src/mainboard/facebook/fbg1701/onboard.h
+++ b/src/mainboard/facebook/fbg1701/onboard.h
@@ -21,15 +21,6 @@
/* SD CARD gpio */
#define SDCARD_CD 81 /* Not used */
-
-/* CPLD definitions */
-#define CPLD_PCB_VERSION_PORT 0x283
-#define CPLD_PCB_VERSION_MASK 0xF0
-#define CPLD_PCB_VERSION_BIT 4
-
-#define CPLD_RESET_PORT 0x287
-#define CPLD_CMD_RESET_DSI_BRIDGE_ACTIVE 0x20
-#define CPLD_CMD_RESET_DSI_BRIDGE_INACTIVE 0x00
#define ITE8528_CMD_PORT 0x6E
#define ITE8528_DATA_PORT 0x6F