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 * See file CREDITS for list of people who contributed to this
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation; either version 2 of
17 * the License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
31 #include <asm/arch/sys_proto.h>
32 #include <asm/arch/mmc_host_def.h>
36 #ifdef CONFIG_USB_EHCI
38 #include <asm/arch/ehci.h>
39 #include <asm/ehci-omap.h>
42 DECLARE_GLOBAL_DATA_PTR;
44 const struct omap_sysinfo sysinfo = {
56 gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
61 int board_eth_init(bd_t *bis)
67 * @brief misc_init_r - Configure EVM board specific configurations
68 * such as power configurations, ethernet initialization as phase2 of
78 static void do_set_mux32(u32 base,
79 struct pad_conf_entry const *array, int size)
82 struct pad_conf_entry *pad = (struct pad_conf_entry *)array;
84 for (i = 0; i < size; i++, pad++)
85 writel(pad->val, base + pad->offset);
88 void set_muxconf_regs_essential(void)
90 do_set_mux32((*ctrl)->control_padconf_core_base,
91 core_padconf_array_essential,
92 sizeof(core_padconf_array_essential) /
93 sizeof(struct pad_conf_entry));
96 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)
97 int board_mmc_init(bd_t *bis)
99 omap_mmc_init(0, 0, 0, -1, -1);
100 omap_mmc_init(1, 0, 0, -1, -1);