public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] Remove unused functions
@ 2023-07-28  6:57 Shenlin Liang
  0 siblings, 0 replies; only message in thread
From: Shenlin Liang @ 2023-07-28  6:57 UTC (permalink / raw)
  To: u-boot; +Cc: Shenlin Liang

Function board_switch_core_volt has not been used since it was
defined

Signed-off-by: Shenlin Liang <liangshenlin@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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-28 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-28  6:57 [PATCH] Remove unused functions Shenlin Liang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox