mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-03 05:29:29 +00:00
mec1322: Deassert iRESET_OUT on init
iRESET_OUT must be deasserted before the host can boot, and it's also the gating source of the internal nSIO_RESET signal. There is a delay between deasserting iRESET_OUT and nSIO_RESET inactivated, so let's deassert iRESET_OUT as early as possible. BUG=chrome-os-partner:24107 TEST=Boot EVB and check iRESET_OUT value BRANCH=None Change-Id: I6647da00567e2651c2b49e1e767adee2d5276493 Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/178171 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
a981a1fa16
commit
84db5c7549
@@ -28,6 +28,9 @@ void system_pre_init(void)
|
||||
{
|
||||
/* Enable direct NVIC */
|
||||
MEC1322_EC_INT_CTRL |= 1;
|
||||
|
||||
/* Deassert nSIO_RESET */
|
||||
MEC1322_PCR_PWR_RST_CTL &= ~(1 << 0);
|
||||
}
|
||||
|
||||
void system_reset(int flags)
|
||||
|
||||
Reference in New Issue
Block a user