[coreboot-gerrit] Patch merged into coreboot/master: sconfig: Allow strings in devicetree.cb
gerrit at coreboot.org
gerrit at coreboot.org
Mon May 16 19:49:43 CEST 2016
the following patch was just integrated into master:
commit b1fb0152bfe02d5f22a9550e22b8cc522b5adbfd
Author: Duncan Laurie <dlaurie at chromium.org>
Date: Sat May 7 19:43:25 2016 -0700
sconfig: Allow strings in devicetree.cb
Currently you cannot assign a string to a register in devicetree because
the quotes are removed when parsing and the literal is assigned directly.
Add a parse option for two double-quotation marks to indicate a string
and return a quoted literal that can be assigned to a register with a
'const char *' type.
Example:
chip drivers/i2c/generic
register "hid" = ""INT343B""
register "uid" = "1"
device i2c 15 on end
end
Change-Id: I621cde1f7547494a8035fbbab771f29522da1687
Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
Reviewed-on: https://review.coreboot.org/14787
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
See https://review.coreboot.org/14787 for details.
-gerrit
More information about the coreboot-gerrit
mailing list