From 4c064a87094a6efde0561b680a0a0ef83096b5b7 Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Tue, 13 Feb 2024 15:17:59 +0200 Subject: [PATCH] imxrt: Fix bootloader_main prototype for newer NuttX Signed-off-by: Jukka Laitinen --- platforms/nuttx/src/bootloader/nxp/imxrt_common/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/nuttx/src/bootloader/nxp/imxrt_common/main.c b/platforms/nuttx/src/bootloader/nxp/imxrt_common/main.c index 1197427a942c..d951aee48b1a 100644 --- a/platforms/nuttx/src/bootloader/nxp/imxrt_common/main.c +++ b/platforms/nuttx/src/bootloader/nxp/imxrt_common/main.c @@ -592,7 +592,7 @@ arch_do_jump(const uint32_t *app_base) } int -bootloader_main(void) +CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]) { bool try_boot = true; /* try booting before we drop to the bootloader */ unsigned timeout = BOOTLOADER_DELAY; /* if nonzero, drop out of the bootloader after this time */