[PATCH] versal2: Fix .*get_bootmode function name
Michal Simek
michal.simek at amd.com
Tue Feb 18 13:40:48 CET 2025
Function was c&p from Versal NET and should use soc specific name instead.
Signed-off-by: Michal Simek <michal.simek at amd.com>
---
board/amd/versal2/board.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/amd/versal2/board.c b/board/amd/versal2/board.c
index 5651d516a9e3..d3e6547eada9 100644
--- a/board/amd/versal2/board.c
+++ b/board/amd/versal2/board.c
@@ -149,7 +149,7 @@ int board_early_init_r(void)
return 0;
}
-static u8 versal_net_get_bootmode(void)
+static u8 versal2_get_bootmode(void)
{
u8 bootmode;
u32 reg = 0;
@@ -175,7 +175,7 @@ static int boot_targets_setup(void)
char *new_targets;
char *env_targets;
- bootmode = versal_net_get_bootmode();
+ bootmode = versal2_get_bootmode();
puts("Bootmode: ");
switch (bootmode) {
--
2.43.0
More information about the U-Boot
mailing list