mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
sunxi: Make bit delay function in H616 DRAM code void
Mentioned function result is always true and result isn't checked anyway. Let's make it void. Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
7742eac7af
commit
83118bfa04
1 changed files with 1 additions and 3 deletions
|
@ -572,7 +572,7 @@ static bool mctl_phy_write_training(struct dram_para *para)
|
|||
return result;
|
||||
}
|
||||
|
||||
static bool mctl_phy_bit_delay_compensation(struct dram_para *para)
|
||||
static void mctl_phy_bit_delay_compensation(struct dram_para *para)
|
||||
{
|
||||
u32 *ptr;
|
||||
int i;
|
||||
|
@ -683,8 +683,6 @@ static bool mctl_phy_bit_delay_compensation(struct dram_para *para)
|
|||
|
||||
setbits_le32(SUNXI_DRAM_PHY0_BASE + 0x54, 0x80);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool mctl_phy_init(struct dram_para *para)
|
||||
|
|
Loading…
Reference in a new issue