]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common:autoboot:modify function parameters
authorShenlin Liang <liangshenlin@eswincomputing.com>
Fri, 2 Dec 2022 04:53:48 +0000 (12:53 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 11 Jan 2023 16:54:49 +0000 (11:54 -0500)
the blob parameter of the function process_fdt_options has not been
invoked in the function body and should be changed to void type

Signed-off-by: Shenlin Liang <liangshenlin@eswincomputing.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/autoboot.c

index ea44fdf6add9904e2006610d9b8ed7063573aa3f..848c33b2f2a59fc8a74d80926e79c1d51d77e9bc 100644 (file)
@@ -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;