mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02:00
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]
Fixes: dc7e5f190d
("arm: stm32mp: activate data cache on DDR in SPL")
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
This commit is contained in:
committed by
Patrice Chotard
parent
0b73355ba2
commit
346034a7a8
@@ -147,7 +147,7 @@ void spl_board_prepare_for_boot(void)
|
|||||||
dcache_disable();
|
dcache_disable();
|
||||||
}
|
}
|
||||||
|
|
||||||
void spl_board_prepare_for_boot_linux(void)
|
void spl_board_prepare_for_linux(void)
|
||||||
{
|
{
|
||||||
dcache_disable();
|
dcache_disable();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user