2 * (C) Copyright 2014 CompuLab, Ltd. <www.compulab.co.il>
4 * Authors: Igor Grinberg <grinberg@compulab.co.il>
6 * SPDX-License-Identifier: GPL-2.0+
10 #include <status_led.h>
12 #include <linux/compiler.h>
15 #include <asm/arch/mem.h>
16 #include <asm/arch/am35x_def.h>
17 #include <asm/arch/mmc_host_def.h>
18 #include <asm/arch/sys_proto.h>
20 #include "../common/common.h"
22 DECLARE_GLOBAL_DATA_PTR;
24 const omap3_sysinfo sysinfo = {
32 gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
35 gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100);
37 #if defined(CONFIG_STATUS_LED) && defined(STATUS_LED_BOOT)
38 status_led_set(STATUS_LED_BOOT, STATUS_LED_ON);
52 #if defined(CONFIG_GENERIC_MMC) && !defined(CONFIG_SPL_BUILD)
53 #define SB_T35_CD_GPIO 144
54 #define SB_T35_WP_GPIO 59
56 int board_mmc_init(bd_t *bis)
58 return omap_mmc_init(0, 0, 0, SB_T35_CD_GPIO, SB_T35_WP_GPIO);