[PATCH] fixup! common: add generic system partitions interface

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Apr 30 14:39:26 BST 2021


$global.system.partitions is imo better than $global.partitions,
because it makes it clearer that this is board-specific configuration.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 common/system-partitions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/system-partitions.c b/common/system-partitions.c
index a2e5de4665a2..547e08a9f30b 100644
--- a/common/system-partitions.c
+++ b/common/system-partitions.c
@@ -33,7 +33,7 @@ static int system_partitions_var_init(void)
 	struct param_d *param;
 
 	system_partitions = file_list_parse("");
-	param = dev_add_param_file_list(&global_device, "partitions",
+	param = dev_add_param_file_list(&global_device, "system.partitions",
 					NULL, NULL, &system_partitions, NULL);
 
 	return PTR_ERR_OR_ZERO(param);
-- 
2.29.2




More information about the barebox mailing list