mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-06 11:30:47 +09:00
ARM: OMAP5/DRA7: Expose do_set_iodelay
do_set_iodelay can now be used from board files based on needs of the platforms variation they have. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
ceb7d77d6f
commit
c755e67516
@ -138,8 +138,8 @@ static u32 get_cfg_reg(u16 a_delay, u16 g_delay, u32 cpde, u32 fpde)
|
|||||||
return reg;
|
return reg;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int do_set_iodelay(u32 base, struct iodelay_cfg_entry const *array,
|
int do_set_iodelay(u32 base, struct iodelay_cfg_entry const *array,
|
||||||
int niodelays)
|
int niodelays)
|
||||||
{
|
{
|
||||||
struct iodelay_cfg_entry *iodelay = (struct iodelay_cfg_entry *)array;
|
struct iodelay_cfg_entry *iodelay = (struct iodelay_cfg_entry *)array;
|
||||||
u32 reg, cpde, fpde, i;
|
u32 reg, cpde, fpde, i;
|
||||||
|
@ -86,4 +86,6 @@ void __recalibrate_iodelay(struct pad_conf_entry const *pad, int npads,
|
|||||||
int __recalibrate_iodelay_start(void);
|
int __recalibrate_iodelay_start(void);
|
||||||
void __recalibrate_iodelay_end(int ret);
|
void __recalibrate_iodelay_end(int ret);
|
||||||
|
|
||||||
|
int do_set_iodelay(u32 base, struct iodelay_cfg_entry const *array,
|
||||||
|
int niodelays);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user