summaryrefslogtreecommitdiff
path: root/util/sconfig/sconfig.l
diff options
context:
space:
mode:
authorJustin TerAvest <teravest@google.com>2018-01-17 16:36:30 -0800
committerMartin Roth <martinroth@google.com>2018-01-25 16:50:17 +0000
commitca2ed9f450682c5f23ee1f3affac8b6dba7fdc0b (patch)
tree6c73b52c016bf59eee8d6371793ef479aa75595b /util/sconfig/sconfig.l
parent4eaf0fa1550805ba9f3c24fb8675a6e77bd40101 (diff)
downloadcoreboot-ca2ed9f450682c5f23ee1f3affac8b6dba7fdc0b.tar.xz
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>
Diffstat (limited to 'util/sconfig/sconfig.l')
-rwxr-xr-xutil/sconfig/sconfig.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sconfig/sconfig.l b/util/sconfig/sconfig.l
index 4f4084fda0..484843dd22 100755
--- a/util/sconfig/sconfig.l
+++ b/util/sconfig/sconfig.l
@@ -38,6 +38,7 @@ cpu_cluster {yylval.number=CPU_CLUSTER; return(BUS);}
cpu {yylval.number=CPU; return(BUS);}
domain {yylval.number=DOMAIN; return(BUS);}
generic {yylval.number=GENERIC; return(BUS);}
+mmio {yylval.number=MMIO; return(BUS);}
spi {yylval.number=SPI; return(BUS);}
irq {yylval.number=IRQ; return(RESOURCE);}
drq {yylval.number=DRQ; return(RESOURCE);}