Skip to content
Snippets Groups Projects
Commit f91e0c4c authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini
Browse files

ARM: BeagleBoard-x15: Enable IO delay recalibration sequence


Enable IO delay recalibration sequence.

Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent 2cb3cccb
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <asm/omap_common.h> #include <asm/omap_common.h>
#include <asm/emif.h> #include <asm/emif.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
#include <asm/arch/dra7xx_iodelay.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>
#include <asm/arch/mmc_host_def.h> #include <asm/arch/mmc_host_def.h>
#include <asm/arch/sata.h> #include <asm/arch/sata.h>
...@@ -264,11 +265,18 @@ int board_late_init(void) ...@@ -264,11 +265,18 @@ int board_late_init(void)
void set_muxconf_regs_essential(void) void set_muxconf_regs_essential(void)
{ {
do_set_mux32((*ctrl)->control_padconf_core_base, do_set_mux32((*ctrl)->control_padconf_core_base,
core_padconf_array_essential, early_padconf, ARRAY_SIZE(early_padconf));
sizeof(core_padconf_array_essential) /
sizeof(struct pad_conf_entry));
} }
#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) #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)
int board_mmc_init(bd_t *bis) int board_mmc_init(bd_t *bis)
{ {
......
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
#define CONFIG_AM57XX #define CONFIG_AM57XX
#ifdef CONFIG_SPL_BUILD
#define CONFIG_IODELAY_RECALIBRATION
#endif
#define CONFIG_NR_DRAM_BANKS 2 #define CONFIG_NR_DRAM_BANKS 2
#define CONFIG_ENV_SIZE (64 << 10) #define CONFIG_ENV_SIZE (64 << 10)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment