Skip to contentSkip to conversation

common:autoboot:modify function parameters

PATCH In review Shenlin Liang 3 participants 4 messages Dec 2, 2022 – Jan 12, 2023

lore
Share & tools
lore
#0 lore raw

cover common:autoboot:modify function parameters

In the autoboot.c file under uboot/common/, the blob parameter of the function process_fdt_options has not been invoked in the function body and should be changed to void type

Shenlin Liang (1):
common:autoboot:modify function parameters

 common/autoboot.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.31.1.windows.1
#1 lore raw

PATCH 1/1 common:autoboot:modify function parameters

the blob parameter of the function process_fdt_options has not been invoked in the function body and should be changed to void type

---
 common/autoboot.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
common/autoboot.c +2 -2
index ea44fdf6ad..848c33b2f2 100644
@@ -422,7 +422,7 @@ static int abortboot(int bootdelay)
 	return abort;
 }
 
-static void process_fdt_options(const void *blob)
+static void process_fdt_options(void)
 {
 #ifdef CONFIG_TEXT_BASE
 	ulong addr;
@@ -474,7 +474,7 @@ const char *bootdelay_process(void)
 		s = env_get("bootcmd");
 
 	if (IS_ENABLED(CONFIG_OF_CONTROL))
-		process_fdt_options(gd->fdt_blob);
+		process_fdt_options();
 	stored_bootdelay = bootdelay;
 
 	return s;
Signature · 1 line
2.31.1.windows.1