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>
This commit is contained in:
Mary Ruthven
2016-08-19 15:20:18 -07:00
committed by chrome-bot
parent ade0de9881
commit e47eaaf2e8
5 changed files with 20 additions and 17 deletions

View File

@@ -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
*