[coreboot-gerrit] Change in coreboot[master]: mainboard/google/zoombini: map EC io space in devicetree.cb

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/23206

to review the following change.


Change subject: mainboard/google/zoombini: map EC io space in devicetree.cb
......................................................................

mainboard/google/zoombini: map EC io space in devicetree.cb

BUG=b:64395641
BRANCH=none
TEST=none

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



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/23206/1

diff --git a/src/mainboard/google/zoombini/variants/baseboard/devicetree.cb b/src/mainboard/google/zoombini/variants/baseboard/devicetree.cb
index 1bf5dba..da40baf 100644
--- a/src/mainboard/google/zoombini/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/zoombini/variants/baseboard/devicetree.cb
@@ -8,6 +8,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/23206
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: I92969384cd32766be4595494aa70b4eb9c74f099
Gerrit-Change-Number: 23206
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/b1516c78/attachment.html>


More information about the coreboot-gerrit mailing list