3 * Texas Instruments Incorporated, <www.ti.com>
5 * Lokesh Vutla <lokeshvutla@ti.com>
7 * Based on previous work by:
8 * Aneesh V <aneesh@ti.com>
9 * Steve Sakoman <steve@sakoman.com>
11 * SPDX-License-Identifier: GPL-2.0+
15 #include <asm/arch/sys_proto.h>
16 #include <asm/arch/mmc_host_def.h>
20 #ifdef CONFIG_USB_EHCI
22 #include <asm/arch/ehci.h>
23 #include <asm/ehci-omap.h>
26 DECLARE_GLOBAL_DATA_PTR;
28 const struct omap_sysinfo sysinfo = {
40 gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
45 int board_eth_init(bd_t *bis)
51 * @brief misc_init_r - Configure EVM board specific configurations
52 * such as power configurations, ethernet initialization as phase2 of
62 static void do_set_mux32(u32 base,
63 struct pad_conf_entry const *array, int size)
66 struct pad_conf_entry *pad = (struct pad_conf_entry *)array;
68 for (i = 0; i < size; i++, pad++)
69 writel(pad->val, base + pad->offset);
72 void set_muxconf_regs_essential(void)
74 do_set_mux32((*ctrl)->control_padconf_core_base,
75 core_padconf_array_essential,
76 sizeof(core_padconf_array_essential) /
77 sizeof(struct pad_conf_entry));
80 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)
81 int board_mmc_init(bd_t *bis)
83 omap_mmc_init(0, 0, 0, -1, -1);
84 omap_mmc_init(1, 0, 0, -1, -1);