arm: stm32mp: use correct weak function name spl_board_prepare_for_linux
Subsystems (3)
PATCH 1/1 arm: stm32mp: use correct weak function name spl_board_prepare_for_linux
Replace the function spl_board_prepare_for_boot_linux by the correct name of the weak function spl_board_prepare_for_linux defined in spl.h.
This patch avoids warning with W=1 option:
u-boot/arch/arm/mach-stm32mp/spl.c:150:6:
warning: no previous prototype for ?spl_board_prepare_for_boot_linux? [-Wmissing-prototypes]
---
arch/arm/mach-stm32mp/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-stm32mp/spl.c +1 -1
@@ -147,7 +147,7 @@ void spl_board_prepare_for_boot(void)dcache_disable (); } -void spl_board_prepare_for_boot_linux (void ) +void spl_board_prepare_for_linux (void ) {dcache_disable (); }
Signature · 1 line
2.17.1
PATCH 1/1 arm: stm32mp: use correct weak function name spl_board_prepare_for_linux
Quoted 21 lines · Patrick Delaunay
Replace the function
spl_board_prepare_for_boot_linuxby the correct name of the weak functionspl_board_prepare_for_linuxdefined inspl.h.This patch avoids warning with W=1 option:
u-boot/arch/arm/mach-stm32mp/spl.c:150:6:
warning: no previous prototype for ?spl_board_prepare_for_boot_linux? [-Wmissing-prototypes]Fixes dc7e5f190de5 ("arm: stm32mp: activate data cache on DDR in SPL")Signed-off-by Patrick Delaunay <[email protected]>---
arch/arm/mach-stm32mp/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-stm32mp/spl.c +0
-0
arch/arm/mach-stm32mp/spl.c void spl_board_prepare_for_boot(void) · line 153
Quoted 8 lines
arch/arm/mach-stm32mp/spl.c +1
-1@@ -147,7 +147,7 @@ void spl_board_prepare_for_boot(void)dcache_disable (); } -void spl_board_prepare_for_boot_linux (void ) +void spl_board_prepare_for_linux (void ) {dcache_disable (); }
Thanks
Patrice
PATCH 1/1 arm: stm32mp: use correct weak function name spl_board_prepare_for_linux
Quoted 32 lines · Patrice CHOTARD
Quoted 21 lines · Patrick Delaunay
Replace the function
spl_board_prepare_for_boot_linuxby the correct name of the weak functionspl_board_prepare_for_linuxdefined inspl.h.This patch avoids warning with W=1 option:
u-boot/arch/arm/mach-stm32mp/spl.c:150:6:
warning: no previous prototype for ?spl_board_prepare_for_boot_linux? [-Wmissing-prototypes]Fixes dc7e5f190de5 ("arm: stm32mp: activate data cache on DDR in SPL")Signed-off-by Patrick Delaunay <[email protected]>---
arch/arm/mach-stm32mp/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-stm32mp/spl.c +0
-0arch/arm/mach-stm32mp/spl.c void spl_board_prepare_for_boot(void) · line 153
Quoted 8 lines
arch/arm/mach-stm32mp/spl.c +1
-1@@ -147,7 +147,7 @@ void spl_board_prepare_for_boot(void)dcache_disable (); } -void spl_board_prepare_for_boot_linux (void ) +void spl_board_prepare_for_linux (void ) {dcache_disable (); }Reviewed-by Patrice Chotard <[email protected]>
Quoted 7 lines
Thanks
Patrice
_______________________________________________
Uboot-stm32 mailing list
Uboot-stm32 at st-md-mailman.stormreply.com
https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32
Applied to u-boot-stm/master
Thanks
Patrice