summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2015-06-04 16:42:41 +0530
committerTom Rini <trini@konsulko.com>2015-06-12 13:02:06 -0400
commitf91e0c4c773c9faeabf2d66a6b9fca54bb1b5ee2 (patch)
treef203934b87d11c92f97d2c18a00c521d46257d37 /board
parent2cb3cccb8bfe93b4d862c82c41e0c9e7468e9c9b (diff)
downloadu-boot-f91e0c4c773c9faeabf2d66a6b9fca54bb1b5ee2.tar.gz
u-boot-f91e0c4c773c9faeabf2d66a6b9fca54bb1b5ee2.tar.bz2
u-boot-f91e0c4c773c9faeabf2d66a6b9fca54bb1b5ee2.zip
ARM: BeagleBoard-x15: Enable IO delay recalibration sequence
Enable IO delay recalibration sequence. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'board')
-rw-r--r--board/ti/beagle_x15/board.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/board/ti/beagle_x15/board.c b/board/ti/beagle_x15/board.c
index 4ee02f28eb..b6c17ec83f 100644
--- a/board/ti/beagle_x15/board.c
+++ b/board/ti/beagle_x15/board.c
@@ -15,6 +15,7 @@
#include <asm/omap_common.h>
#include <asm/emif.h>
#include <asm/arch/clock.h>
+#include <asm/arch/dra7xx_iodelay.h>
#include <asm/arch/sys_proto.h>
#include <asm/arch/mmc_host_def.h>
#include <asm/arch/sata.h>
@@ -264,11 +265,18 @@ int board_late_init(void)
void set_muxconf_regs_essential(void)
{
do_set_mux32((*ctrl)->control_padconf_core_base,
- core_padconf_array_essential,
- sizeof(core_padconf_array_essential) /
- sizeof(struct pad_conf_entry));
+ early_padconf, ARRAY_SIZE(early_padconf));
}
+#ifdef CONFIG_IODELAY_RECALIBRATION
+void recalibrate_iodelay(void)
+{
+ __recalibrate_iodelay(core_padconf_array_essential,
+ ARRAY_SIZE(core_padconf_array_essential),
+ iodelay_cfg_array, ARRAY_SIZE(iodelay_cfg_array));
+}
+#endif
+
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)
int board_mmc_init(bd_t *bis)
{