[PATCH] Remove unused parameters

2023-07-28 Thread Shenlin Liang
Removes unused function arguments from the riscv_cpu_setup function Signed-off-by: Shenlin Liang --- arch/riscv/cpu/cpu.c | 2 +- arch/riscv/include/asm/system.h | 2 +- arch/riscv/lib/spl.c | 2 +- board/starfive/visionfive2/spl.c | 2 +- 4 files changed, 4 insertions

[PATCH] Remove unused functions

2023-07-28 Thread Shenlin Liang
Function board_switch_core_volt has not been used since it was defined Signed-off-by: Shenlin Liang --- 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

[PATCH 0/1] cmd: change the return value when argc error

2022-12-09 Thread Shenlin Liang
When the number of parameters is wrong, the return value should be processed in the same way as other cmds, return CMD_RET_USAGE so that it can print the information. Shenlin Liang (1): cmd: change the return value when arguments missing cmd/mvebu/comphy_rx_training.c | 2 +- 1 file changed

[PATCH 1/1] cmd: change the return value when argc error

2022-12-09 Thread Shenlin Liang
When the number of parameters is wrong, the return value should be processed in the same way as other cmds, return CMD_RET_USAGE so that it can print the information. Signed-off-by: Shenlin Liang --- cmd/mvebu/comphy_rx_training.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 0/1] common:autoboot:modify function parameters

2022-12-02 Thread Shenlin Liang
In the autoboot.c file under uboot/common/, the blob parameter of the function process_fdt_options has not been invoked in the function body and should be changed to void type Shenlin Liang (1): common:autoboot:modify function parameters common/autoboot.c | 4 ++-- 1 file changed, 2

[PATCH 1/1] common:autoboot:modify function parameters

2022-12-02 Thread Shenlin Liang
the blob parameter of the function process_fdt_options has not been invoked in the function body and should be changed to void type Signed-off-by: Shenlin Liang --- common/autoboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/autoboot.c b/common/autoboot.c