[coreboot-gerrit] Change in coreboot[master]: mainboard/google/zoombini/variants/meowth: map EC io space

Nick Vaccaro (Code Review) gerrit at coreboot.org
Wed Jan 10 19:59:49 CET 2018


Hello Nick Vaccaro,

I'd like you to do a code review. Please visit

    https://review.coreboot.org/23207

to review the following change.


Change subject: mainboard/google/zoombini/variants/meowth: map EC io space
......................................................................

mainboard/google/zoombini/variants/meowth: map EC io space

Map EC io space in devicetree.cb

BUG=b:69011806
BRANCH=none
TEST=none

Change-Id: Ic3806b5f9b7bf272a77360060cd71db9a03d5763
Signed-off-by: Nick Vaccaro <nvaccaro at chromium.org>
---
M src/mainboard/google/zoombini/variants/meowth/devicetree.cb
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/23207/1

diff --git a/src/mainboard/google/zoombini/variants/meowth/devicetree.cb b/src/mainboard/google/zoombini/variants/meowth/devicetree.cb
index 6372217..b2c1f06 100644
--- a/src/mainboard/google/zoombini/variants/meowth/devicetree.cb
+++ b/src/mainboard/google/zoombini/variants/meowth/devicetree.cb
@@ -14,6 +14,12 @@
 	register "gpe0_dw1" = "PMC_GPP_B"
 	register "gpe0_dw2" = "PMC_GPP_C"
 
+	# EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
+	register "gen1_dec" = "0x00fc0801"
+	register "gen2_dec" = "0x000c0201"
+	# EC memory map range is 0x900-0x9ff
+	register "gen3_dec" = "0x00fc0901"
+
 	device cpu_cluster 0 on
 		device lapic 0 on end
 	end

-- 
To view, visit https://review.coreboot.org/23207
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic3806b5f9b7bf272a77360060cd71db9a03d5763
Gerrit-Change-Number: 23207
Gerrit-PatchSet: 1
Gerrit-Owner: Nick Vaccaro <nvaccaro at google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro at chromium.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180110/52c4081e/attachment.html>


More information about the coreboot-gerrit mailing list