]>
git.ipfire.org Git - people/ms/u-boot.git/blob - board/ti/am3517crane/am3517crane.c
2 * am3517crane.c - board file for AM3517 CraneBoard
4 * Author: Srinath.R <srinath@mistralsolutions.com>
6 * Based on logicpd/am3517evm/am3517evm.c
8 * Copyright (C) 2011 Mistral Solutions Pvt Ltd
10 * SPDX-License-Identifier: GPL-2.0+
15 #include <asm/arch/mmc_host_def.h>
16 #include <asm/arch/mem.h>
17 #include <asm/arch/mux.h>
18 #include <asm/arch/sys_proto.h>
19 #include <asm/mach-types.h>
21 #include "am3517crane.h"
23 DECLARE_GLOBAL_DATA_PTR
;
27 * Description: Early hardware init.
31 gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
32 /* board id for Linux */
33 gd
->bd
->bi_arch_number
= MACH_TYPE_CRANEBOARD
;
35 gd
->bd
->bi_boot_params
= (OMAP34XX_SDRC_CS0
+ 0x100);
41 * Routine: misc_init_r
42 * Description: Init i2c, ethernet, etc... (done here so udelay works)
46 #ifdef CONFIG_DRIVER_OMAP34XX_I2C
47 i2c_init(CONFIG_SYS_I2C_SPEED
, CONFIG_SYS_I2C_SLAVE
);
56 * Routine: set_muxconf_regs
57 * Description: Setting up the configuration Mux registers specific to the
58 * hardware. Many pins need to be moved from protect to primary
61 void set_muxconf_regs(void)
66 #if defined(CONFIG_GENERIC_MMC) && !defined(CONFIG_SPL_BUILD)
67 int board_mmc_init(bd_t
*bis
)
69 return omap_mmc_init(0, 0, 0, -1, -1);