1 // SPDX-License-Identifier: GPL-2.0+
3 * am3517crane.c - board file for AM3517 CraneBoard
5 * Author: Srinath.R <srinath@mistralsolutions.com>
7 * Based on logicpd/am3517evm/am3517evm.c
9 * Copyright (C) 2011 Mistral Solutions Pvt Ltd
14 #include <asm/arch/mmc_host_def.h>
15 #include <asm/arch/mem.h>
16 #include <asm/arch/mux.h>
17 #include <asm/arch/sys_proto.h>
18 #include <asm/mach-types.h>
20 #include "am3517crane.h"
22 DECLARE_GLOBAL_DATA_PTR;
26 * Description: Early hardware init.
30 gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
31 /* board id for Linux */
32 gd->bd->bi_arch_number = MACH_TYPE_CRANEBOARD;
34 gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100);
40 * Routine: misc_init_r
41 * Description: Init i2c, ethernet, etc... (done here so udelay works)
45 #ifdef CONFIG_SYS_I2C_OMAP24XX
46 i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
49 omap_die_id_display();
55 * Routine: set_muxconf_regs
56 * Description: Setting up the configuration Mux registers specific to the
57 * hardware. Many pins need to be moved from protect to primary
60 void set_muxconf_regs(void)
65 #if defined(CONFIG_MMC)
66 int board_mmc_init(bd_t *bis)
68 return omap_mmc_init(0, 0, 0, -1, -1);