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>
This commit is contained in:
Shenlin Liang 2022-12-02 12:53:48 +08:00 committed by Tom Rini
parent ee4f86cc04
commit c9c42ad21f

View File

@ -422,7 +422,7 @@ static int abortboot(int bootdelay)
return abort; return abort;
} }
static void process_fdt_options(const void *blob) static void process_fdt_options(void)
{ {
#ifdef CONFIG_TEXT_BASE #ifdef CONFIG_TEXT_BASE
ulong addr; ulong addr;
@ -474,7 +474,7 @@ const char *bootdelay_process(void)
s = env_get("bootcmd"); s = env_get("bootcmd");
if (IS_ENABLED(CONFIG_OF_CONTROL)) if (IS_ENABLED(CONFIG_OF_CONTROL))
process_fdt_options(gd->fdt_blob); process_fdt_options();
stored_bootdelay = bootdelay; stored_bootdelay = bootdelay;
return s; return s;