summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2016-08-19 15:20:18 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-09-01 07:39:38 -0700
commite47eaaf2e8d38c25daf73f88249c2d96d554dc3a (patch)
treeda16fab22283ba42a812a6c02de708d0d618206e /include/system.h
parentade0de9881ae843c4fae26180b2c6efbfd080363 (diff)
downloadchrome-ec-e47eaaf2e8d38c25daf73f88249c2d96d554dc3a.tar.gz
cr50: unlock console
UART0 RX only needs to be disabled on reef. This change uses a system property instead of a #define to disable UART0 RX that way it can just be done on Reef not Gru or the dev board. BUG=chrome-os-partner:55510 BRANCH=none TEST=manual rw 0x4060000c shows a value of 1 for reef and 3 for gru gru kevin and reef still boot. Connect DIOA13 to DIOA1 on the dev board and verify the console can be used. Change-Id: I5ee3559c2b35f959c0d67f233d1dfa40743b4064 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/378336 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h
index 4b558cade8..d8d10950ce 100644
--- a/include/system.h
+++ b/include/system.h
@@ -467,6 +467,7 @@ int system_process_retry_counter(void);
#define BOARD_SLAVE_CONFIG_I2C (1 << 1) /* Slave I2C interface */
#define BOARD_USB_AP (1 << 2) /* One of the PHYs is */
/* connected to the AP */
+#define BOARD_DISABLE_UART0_RX (1 << 3) /* Disable UART0 RX */
/**
* Get board properites
*
@@ -475,6 +476,9 @@ int system_process_retry_counter(void);
*/
uint32_t system_get_board_properties(void);
+/* Board specific function used to initialize the system board properties. */
+void system_init_board_properties(void);
+
/**
* API for board specific version of system_get_board_properties
*