2 * (C) Copyright 2010,2011
3 * NVIDIA Corporation <www.nvidia.com>
5 * See file CREDITS for list of people who contributed to this
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
26 #include <asm/arch/tegra2.h>
27 #ifdef CONFIG_TEGRA2_MMC
32 * Routine: gpio_config_uart
33 * Description: Does nothing on Harmony - no conflict w/SPI.
35 void gpio_config_uart(void)
39 #ifdef CONFIG_TEGRA2_MMC
41 * Routine: gpio_config_mmc
42 * Description: Set GPIOs for SD card
44 void gpio_config_mmc(void)
46 /* Not implemented for now */
49 /* this is a weak define that we are overriding */
50 int board_mmc_getcd(u8 *cd, struct mmc *mmc)
52 debug("board_mmc_getcd called\n");
54 * Hard-code CD presence for now. Need to add GPIO inputs