]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
tools: config-create: set default root cell name to RootCell
authorHenning Schild <henning.schild@siemens.com>
Tue, 15 Jul 2014 11:27:17 +0000 (13:27 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Tue, 22 Jul 2014 13:49:34 +0000 (15:49 +0200)
The cell name could end up as an empty string because it was derived
from optional input files. In fact just giving the root cell a fixed
default name seems to make more sense than to generate a name or require
users to provide one.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/root-cell-config.c.tmpl

index f6e57e9b27ab40432f625b9b36a3a4ade71ac378..7aaa76341571a74c9e3c9832d3e6a10f6468c2c2 100644 (file)
@@ -39,7 +39,7 @@ struct {
                        .pm_timer_address = ${hex(pm_timer_base)},
                },
                .root_cell = {
-                       .name = "${product[1]}",
+                       .name = "RootCell",
                        .cpu_set_size = sizeof(config.cpus),
                        .num_memory_regions = ARRAY_SIZE(config.mem_regions),
                        .num_irqchips = ARRAY_SIZE(config.irqchips),