mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-riscv
CI: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/25312 - Fix warning - Fix incorrect return value
This commit is contained in:
commit
47f433d577
2 changed files with 4 additions and 3 deletions
|
@ -35,6 +35,5 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
imply SPL_SMP
|
||||
imply SPL_MMC
|
||||
imply SMP
|
||||
imply SPL_RISCV_MMODE
|
||||
|
||||
endif
|
||||
|
|
|
@ -45,12 +45,14 @@ static inline u32 cv1800b_clk_getbit(void *base, struct cv1800b_clk_regbit *bit)
|
|||
|
||||
static inline u32 cv1800b_clk_setbit(void *base, struct cv1800b_clk_regbit *bit)
|
||||
{
|
||||
return setbits_le32(base + bit->offset, BIT(bit->shift));
|
||||
setbits_le32(base + bit->offset, BIT(bit->shift));
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline u32 cv1800b_clk_clrbit(void *base, struct cv1800b_clk_regbit *bit)
|
||||
{
|
||||
return clrbits_le32(base + bit->offset, BIT(bit->shift));
|
||||
clrbits_le32(base + bit->offset, BIT(bit->shift));
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline u32 cv1800b_clk_getfield(void *base,
|
||||
|
|
Loading…
Add table
Reference in a new issue