[coreboot] r938 - coreboot-v3/util/dtc

svn at coreboot.org svn at coreboot.org
Mon Oct 20 17:21:19 CEST 2008


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 at gmail.com>
Acked-by: Ronald G. Minnich <rminnich at 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));
 		}





More information about the coreboot mailing list