[PATCH] Remove unused functions
Shenlin Liang
liangshenlin at eswincomputing.com
Fri Jul 28 08:57:44 CEST 2023
Function board_switch_core_volt has not been used since it was
defined
Signed-off-by: Shenlin Liang <liangshenlin at eswincomputing.com>
---
arch/arm/cpu/armv8/fsl-layerscape/soc.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
index 359cbc0430..aa6183c87a 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
@@ -575,11 +575,6 @@ int get_core_volt_from_fuse(void)
return vdd;
}
-__weak int board_switch_core_volt(u32 vdd)
-{
- return 0;
-}
-
static int setup_core_volt(u32 vdd)
{
return board_setup_core_volt(vdd);
--
2.31.1.windows.1
More information about the U-Boot
mailing list