git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926a72b
)
versal2: Fix .*get_bootmode function name
author
Michal Simek
<michal.simek@amd.com>
Tue, 18 Feb 2025 12:40:48 +0000
(13:40 +0100)
committer
Michal Simek
<michal.simek@amd.com>
Wed, 16 Apr 2025 11:42:06 +0000
(13:42 +0200)
Function was c&p from Versal NET and should use soc specific name instead.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link:
https://lore.kernel.org/r/bd8cb2f9783bda47663927f78bf0bf908393334b.1739882445.git.michal.simek@amd.com
board/amd/versal2/board.c
patch
|
blob
|
history
diff --git
a/board/amd/versal2/board.c
b/board/amd/versal2/board.c
index
5651d51
..
d3e6547
100644
(file)
--- 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 versal
2
_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 = versal
2
_get_bootmode();
puts("Bootmode: ");
switch (bootmode) {