mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
mec1322: disable host write to mapped memory
EMI module has the ability to set different read and write ranges. Let's disable write on mapped memory. BUG=chrome-os-partner:24107 TEST=Write to mapped memory has no effect BRANCH=None Change-Id: I88654bde9208376103d3c084ee54991d886ea4cc Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/182795 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
fc91a7f7fd
commit
ca9c2744ea
@@ -194,7 +194,7 @@ static void setup_lpc(void)
|
||||
MEC1322_LPC_EMI_BAR = 0x0800800f;
|
||||
MEC1322_EMI_MBA0 = ptr;
|
||||
MEC1322_EMI_MRL0 = 0x200;
|
||||
MEC1322_EMI_MWL0 = 0x200;
|
||||
MEC1322_EMI_MWL0 = 0x100;
|
||||
|
||||
/* We support LPC args and version 3 protocol */
|
||||
*(lpc_get_memmap_range() + EC_MEMMAP_HOST_CMD_FLAGS) =
|
||||
|
||||
Reference in New Issue
Block a user