mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
omap4: Export jedec sdram timings
Individual boards might provide their own emif_get_device_timings function and use the jedec timings in their own way, hence those have to be exported. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
This commit is contained in:
parent
96703acd0a
commit
ed5ddebe96
2 changed files with 4 additions and 2 deletions
|
@ -96,7 +96,7 @@ static const struct lpddr2_ac_timings const*
|
|||
&timings_jedec_400_mhz
|
||||
};
|
||||
|
||||
static const struct lpddr2_device_timings jedec_default_timings = {
|
||||
const struct lpddr2_device_timings jedec_default_timings = {
|
||||
.ac_timings = jedec_ac_timings,
|
||||
.min_tck = &min_tck_jedec
|
||||
};
|
||||
|
|
|
@ -31,7 +31,9 @@ extern const struct lpddr2_device_details elpida_2G_S4_details;
|
|||
extern const struct lpddr2_device_details elpida_4G_S4_details;
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS
|
||||
#ifdef CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS
|
||||
extern const struct lpddr2_device_timings jedec_default_timings;
|
||||
#else
|
||||
extern const struct lpddr2_device_timings elpida_2G_S4_timings;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue