From: Jan Luebbe <jlu@xxxxxxxxxxxxxx> If CONFIG_PARAMETER is not set, dev_set_param() does not call the setter function. Call it directly instead in this case. Signed-off-by: Jan Luebbe <jlu@xxxxxxxxxxxxxx> --- common/console.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/console.c b/common/console.c index 402dcf5..1518ed8 100644 --- a/common/console.c +++ b/common/console.c @@ -171,8 +171,12 @@ int console_register(struct console_device *newcdev) list_add_tail(&newcdev->list, &console_list); - if (activate) - dev_set_param(dev, "active", "ioe"); + if (activate) { + if (IS_ENABLED(CONFIG_PARAMETER)) + dev_set_param(dev, "active", "ioe"); + else + console_std_set(dev, NULL, "ioe"); + } return 0; } -- 1.8.4.rc3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox