summaryrefslogtreecommitdiff
path: root/common/autoboot.c
diff options
context:
space:
mode:
authorShenlin Liang <liangshenlin@eswincomputing.com>2022-12-02 12:53:48 +0800
committerTom Rini <trini@konsulko.com>2023-01-11 11:54:49 -0500
commitc9c42ad21fe4fe7bdd39e8557ac15aad92b5d968 (patch)
tree92dde4d056cdf41e4c773b97df0cb531331b4223 /common/autoboot.c
parentee4f86cc042129abf1b16fcfbf4fc705b03375b6 (diff)
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 Signed-off-by: Shenlin Liang <liangshenlin@eswincomputing.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/autoboot.c')
-rw-r--r--common/autoboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/autoboot.c b/common/autoboot.c
index ea44fdf6ad..848c33b2f2 100644
--- a/common/autoboot.c
+++ b/common/autoboot.c
@@ -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;