提交 1e2d7859 编写于 作者: T Tom Warren 提交者: Albert ARIBAUD (U-Boot)

tegra: fix leftover CONFIG_TEGRA2_MMC & _SPI build switches

Missed some boards after my tegra2_mmc.* -> tegra_mmc.* change, and
one instance of CONFIG_TEGRA2_SPI. MAKEALL -s tegra2 AOK, Seaboard MMC
AOK. Didn't test Tamonten, Paz00 or TrimSlice, as I have none here.
Signed-off-by: NTom Warren <twarren@nvidia.com>
Acked-by: NStephen Warren <swarren@wwwdotorg.org>
上级 d70575b6
......@@ -37,7 +37,7 @@
#include <asm/arch/uart.h>
#include <asm/arch/mmc.h>
#ifdef CONFIG_TEGRA2_MMC
#ifdef CONFIG_TEGRA_MMC
#include <mmc.h>
#endif
......@@ -57,7 +57,7 @@ void gpio_early_init(void)
}
#endif
#ifdef CONFIG_TEGRA2_MMC
#ifdef CONFIG_TEGRA_MMC
/*
* Routine: pin_mux_mmc
* Description: setup the pin muxes/tristate values for the SDMMC(s)
......
......@@ -20,7 +20,7 @@
#include <asm/arch/pinmux.h>
#include <asm/arch/mmc.h>
#include <asm/gpio.h>
#ifdef CONFIG_TEGRA2_MMC
#ifdef CONFIG_TEGRA_MMC
#include <mmc.h>
#endif
......@@ -32,7 +32,7 @@ void gpio_config_uart(void)
{
}
#ifdef CONFIG_TEGRA2_MMC
#ifdef CONFIG_TEGRA_MMC
/*
* Routine: pin_mux_mmc
* Description: setup the pin muxes/tristate values for the SDMMC(s)
......
......@@ -30,7 +30,7 @@
#include <asm/arch/pinmux.h>
#include <asm/arch/mmc.h>
#include <asm/gpio.h>
#ifdef CONFIG_TEGRA2_MMC
#ifdef CONFIG_TEGRA_MMC
#include <mmc.h>
#endif
......
......@@ -94,7 +94,7 @@ int board_init(void)
#ifdef CONFIG_SPI_UART_SWITCH
gpio_config_uart();
#endif
#ifdef CONFIG_TEGRA2_SPI
#ifdef CONFIG_TEGRA_SPI
spi_init();
#endif
/* boot param addr */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册