sconfig: Add a new mmio resource type
commitca2ed9f450682c5f23ee1f3affac8b6dba7fdc0b
authorJustin TerAvest <teravest@google.com>
Thu, 18 Jan 2018 00:36:30 +0000 (17 16:36 -0800)
committerMartin Roth <martinroth@google.com>
Thu, 25 Jan 2018 16:50:17 +0000 (25 16:50 +0000)
tree6c73b52c016bf59eee8d6371793ef479aa75595b
parent4eaf0fa1550805ba9f3c24fb8675a6e77bd40101
sconfig: Add a new mmio resource type

Add support for a mmio resource in the devicetree to allow
memory-mapped IO addresses to be assigned to given values.

AMD platforms perform a significant amount of configuration through
these MMIO addresses, including I2C bus configuration.

BUG=b:72121803

Change-Id: I5608721c22c1b229f527815b5f17fff3a080c3c8
Signed-off-by: Justin TerAvest <teravest@chromium.org>
Reviewed-on: https://review.coreboot.org/23319
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/device/device_util.c
src/include/device/path.h
util/sconfig/lex.yy.c_shipped
util/sconfig/main.c
util/sconfig/sconfig.l
util/sconfig/sconfig.tab.c_shipped
util/sconfig/sconfig.tab.h_shipped
util/sconfig/sconfig.y
util/showdevicetree/showdt.c