X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Fti%2Fam3517crane%2Fam3517crane.c;h=5d4e57ffc5c2015f21d07abccc3d7473c6e2c959;hb=83d290c56fab2d38cd1ab4c4cc7099559c1d5046;hp=d007044b2d759e0afa05bf821762ab15bff65640;hpb=f38536f9138c253b0c1f9c72093a7ec6808e638f;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/ti/am3517crane/am3517crane.c b/board/ti/am3517crane/am3517crane.c index d007044..5d4e57f 100644 --- a/board/ti/am3517crane/am3517crane.c +++ b/board/ti/am3517crane/am3517crane.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * am3517crane.c - board file for AM3517 CraneBoard * @@ -6,24 +7,11 @@ * Based on logicpd/am3517evm/am3517evm.c * * Copyright (C) 2011 Mistral Solutions Pvt Ltd - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include +#include #include #include #include @@ -54,11 +42,11 @@ int board_init(void) */ int misc_init_r(void) { -#ifdef CONFIG_DRIVER_OMAP34XX_I2C - i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); +#ifdef CONFIG_SYS_I2C_OMAP24XX + i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); #endif - dieid_num_r(); + omap_die_id_display(); return 0; } @@ -73,3 +61,10 @@ void set_muxconf_regs(void) { MUX_AM3517CRANE(); } + +#if defined(CONFIG_MMC) +int board_mmc_init(bd_t *bis) +{ + return omap_mmc_init(0, 0, 0, -1, -1); +} +#endif