From 36d976d16c13b3559804f5ce1f40e0ce4e9f8485 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Mon, 20 Oct 2008 15:21:19 +0000 Subject: [PATCH] Allow setting of rom_address where needed. Signed-off-by: Ronald G. Minnich Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/coreboot-v3@938 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- util/dtc/flattree.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util/dtc/flattree.c b/util/dtc/flattree.c index bc51229ea3..3b2a6d4323 100644 --- a/util/dtc/flattree.c +++ b/util/dtc/flattree.c @@ -666,6 +666,10 @@ static void coreboot_emit_special(FILE *e, struct node *tree) 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)); }