summaryrefslogtreecommitdiffstats
path: root/discover/platform-powerpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/platform-powerpc.c')
-rw-r--r--discover/platform-powerpc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/discover/platform-powerpc.c b/discover/platform-powerpc.c
index 2ce69e7..98dc045 100644
--- a/discover/platform-powerpc.c
+++ b/discover/platform-powerpc.c
@@ -36,6 +36,7 @@ static const char *known_params[] = {
"petitboot,network",
"petitboot,timeout",
"petitboot,bootdev",
+ "petitboot,debug?",
NULL,
};
@@ -424,6 +425,11 @@ static void populate_config(struct platform_powerpc *platform,
populate_network_config(platform, config);
populate_bootdev_config(platform, config);
+
+ if (!config->debug) {
+ val = get_param(platform, "petitboot,debug?");
+ config->debug = val && !strcmp(val, "true");
+ }
}
static char *iface_config_str(void *ctx, struct interface_config *config)
OpenPOWER on IntegriCloud