sconfig: Add a new mmio resource type

Hardware / Coreboot - Justin TerAvest [google.com] - 25 January 2018 16:50 EST

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

ca2ed9f450 sconfig: Add a new mmio resource type
src/device/device_util.c | 8 +
src/include/device/path.h | 6 +
util/sconfig/lex.yy.c_shipped | 367 ++++++++++++++++++-------------------
util/sconfig/main.c | 4 +
util/sconfig/sconfig.l | 1 +
util/sconfig/sconfig.tab.c_shipped | 37 ++--
util/sconfig/sconfig.tab.h_shipped | 9 +-
util/sconfig/sconfig.y | 2 +-
util/showdevicetree/showdt.c | 3 +
9 files changed, 226 insertions(+), 211 deletions(-)

Upstream: review.coreboot.org


  • Share