Author: rminnich Date: 2008-10-20 17:21:19 +0200 (Mon, 20 Oct 2008) New Revision: 938
Modified: coreboot-v3/util/dtc/flattree.c Log: Allow setting of rom_address where needed.
Signed-off-by: Ronald G. Minnich rminnich@gmail.com Acked-by: Ronald G. Minnich rminnich@gmail.com
Modified: coreboot-v3/util/dtc/flattree.c =================================================================== --- coreboot-v3/util/dtc/flattree.c 2008-10-17 22:49:50 UTC (rev 937) +++ coreboot-v3/util/dtc/flattree.c 2008-10-20 15:21:19 UTC (rev 938) @@ -666,6 +666,10 @@ enabled = 0; }
+ if (streq(prop->name, "rom_address")){ + fprintf(f, "\t.rom_address = %s,\n", prop->val.val); + } + if (streq(prop->name, "config")){ fprintf(f, "\t.device_configuration = &%s,\n", clean(tree->label, 1)); }