mmc: tegra2: rename tegra2_mmc.* to tegra_mmc.*
Subsystems (2)
PATCH 1/1 mmc: tegra2: rename tegra2_mmc.* to tegra_mmc.*
In anticipation of Tegra3 support, continue removing/renaming Tegra2-specific files. No functional changes (yet). Updated copyrights to 2012.
Signed-off-by Tom Warren <[email protected]>
---
board/nvidia/harmony/harmony.c | 4 ++--
board/nvidia/seaboard/seaboard.c | 4 ++--
board/nvidia/whistler/whistler.c | 2 +-
drivers/mmc/Makefile | 2 +-
drivers/mmc/{tegra2_mmc.c => tegra_mmc.c} | 4 ++--
drivers/mmc/{tegra2_mmc.h => tegra_mmc.h} | 8 ++++----
include/configs/harmony.h | 2 +-
include/configs/medcom.h | 2 +-
include/configs/paz00.h | 2 +-
include/configs/plutux.h | 2 +-
include/configs/seaboard.h | 2 +-
include/configs/trimslice.h | 2 +-
include/configs/ventana.h | 2 +-
include/configs/whistler.h | 2 +-
14 files changed, 20 insertions(+), 20 deletions(-)
rename drivers/mmc/{tegra2_mmc.c => tegra_mmc.c} (99%)
rename drivers/mmc/{tegra2_mmc.h => tegra_mmc.h} (97%)board/nvidia/harmony/harmony.c +2 -2
@@ -29,7 +29,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
@@ -41,7 +41,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)
board/nvidia/seaboard/seaboard.c +2 -2
@@ -29,7 +29,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
@@ -54,7 +54,7 @@ void gpio_config_uart(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)
board/nvidia/whistler/whistler.c +1 -1
@@ -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
drivers/mmc/Makefile +1 -1
@@ -42,7 +42,7 @@ COBJS-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o COBJS-$(CONFIG_S5P_MMC) += s5p_mmc.o COBJS-$(CONFIG_SDHCI) += sdhci.o COBJS-$(CONFIG_SH_MMCIF) += sh_mmcif.o -COBJS-$(CONFIG_TEGRA2_MMC) += tegra2_mmc.o +COBJS-$(CONFIG_TEGRA_MMC) += tegra_mmc.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c)
drivers/mmc/tegra_mmc.c renamed from drivers/mmc/tegra2_mmc.c +2 -2
@@ -2,7 +2,7 @@* (C) Copyright 2009 SAMSUNG Electronics * Minkyu Kang <[email protected]> * Jaehoon Chung <[email protected]> -* Portions Copyright 2011 NVIDIA Corporation +* Portions Copyright 2011-2012 NVIDIA Corporation * * 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
@@ -25,7 +25,7 @@#include <asm/io.h> #include <asm/arch/clk_rst.h> #include <asm/arch/clock.h> -#include "tegra2_mmc.h" +#include "tegra_mmc.h" /* support 4 mmc hosts */ struct mmc mmc_dev[4 ];
drivers/mmc/tegra_mmc.h renamed from drivers/mmc/tegra2_mmc.h +4 -4
@@ -1,7 +1,7 @@/* * (C) Copyright 2009 SAMSUNG Electronics * Minkyu Kang <[email protected]> -* Portions Copyright (C) 2011 NVIDIA Corporation +* Portions Copyright (C) 2011-2012 NVIDIA Corporation * * 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
@@ -19,8 +19,8 @@* */ -#ifndef __TEGRA2_MMC_H_ -#define __TEGRA2_MMC_H_ +#ifndef __TEGRA_MMC_H_ +#define __TEGRA_MMC_H_#define TEGRA2_SDMMC1_BASE 0xC8000000#define TEGRA2_SDMMC2_BASE 0xC8000200
@@ -128,4 +128,4 @@ struct mmc_host { };#endif /* __ASSEMBLY__ */ -#endif /* __TEGRA2_MMC_H_ */ +#endif /* __TEGRA_MMC_H_ */
include/configs/harmony.h +1 -1
@@ -55,7 +55,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION
include/configs/medcom.h +1 -1
@@ -45,7 +45,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION
include/configs/paz00.h +1 -1
@@ -42,7 +42,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION
include/configs/plutux.h +1 -1
@@ -45,7 +45,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION
include/configs/seaboard.h +1 -1
@@ -86,7 +86,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION
include/configs/trimslice.h +1 -1
@@ -58,7 +58,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION
include/configs/ventana.h +1 -1
@@ -49,7 +49,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION
include/configs/whistler.h +1 -1
@@ -58,7 +58,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION
Signature · 1 line
1.7.0.4
PATCH 1/1 mmc: tegra2: rename tegra2_mmc.* to tegra_mmc.*
Quoted 6 lines · Tom Warren
In anticipation of Tegra3 support, continue removing/renaming Tegra2-specific files. No functional changes (yet). Updated copyrights to 2012.
Signed-off-by Tom Warren <[email protected]>
Acked-by Simon Glass <[email protected]>
Quoted 258 lines
--- board/nvidia/harmony/harmony.c | 4 ++-- board/nvidia/seaboard/seaboard.c | 4 ++-- board/nvidia/whistler/whistler.c | 2 +- drivers/mmc/Makefile | 2 +- drivers/mmc/{tegra2_mmc.c => tegra_mmc.c} | 4 ++-- drivers/mmc/{tegra2_mmc.h => tegra_mmc.h} | 8 ++++---- include/configs/harmony.h | 2 +- include/configs/medcom.h | 2 +- include/configs/paz00.h | 2 +- include/configs/plutux.h | 2 +- include/configs/seaboard.h | 2 +- include/configs/trimslice.h | 2 +- include/configs/ventana.h | 2 +- include/configs/whistler.h | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) rename drivers/mmc/{tegra2_mmc.c => tegra_mmc.c} (99%) rename drivers/mmc/{tegra2_mmc.h => tegra_mmc.h} (97%)board/nvidia/harmony/harmony.c +2
-2@@ -29,7 +29,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 @@ -41,7 +41,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) board/nvidia/seaboard/seaboard.c +2
-2@@ -29,7 +29,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 @@ -54,7 +54,7 @@ void gpio_config_uart(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) board/nvidia/whistler/whistler.c +1
-1@@ -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 drivers/mmc/Makefile +1
-1@@ -42,7 +42,7 @@ COBJS-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o COBJS-$(CONFIG_S5P_MMC) += s5p_mmc.o COBJS-$(CONFIG_SDHCI) += sdhci.o COBJS-$(CONFIG_SH_MMCIF) += sh_mmcif.o -COBJS-$(CONFIG_TEGRA2_MMC) += tegra2_mmc.o +COBJS-$(CONFIG_TEGRA_MMC) += tegra_mmc.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c)drivers/mmc/tegra_mmc.c renamed from drivers/mmc/tegra2_mmc.c +2
-2@@ -2,7 +2,7 @@* (C) Copyright 2009 SAMSUNG Electronics * Minkyu Kang <[email protected]> * Jaehoon Chung <[email protected]> -* Portions Copyright 2011 NVIDIA Corporation +* Portions Copyright 2011-2012 NVIDIA Corporation * * 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 @@ -25,7 +25,7 @@#include <asm/io.h> #include <asm/arch/clk_rst.h> #include <asm/arch/clock.h> -#include "tegra2_mmc.h" +#include "tegra_mmc.h" /* support 4 mmc hosts */ struct mmc mmc_dev[4 ];drivers/mmc/tegra_mmc.h renamed from drivers/mmc/tegra2_mmc.h +4
-4@@ -1,7 +1,7 @@/* * (C) Copyright 2009 SAMSUNG Electronics * Minkyu Kang <[email protected]> -* Portions Copyright (C) 2011 NVIDIA Corporation +* Portions Copyright (C) 2011-2012 NVIDIA Corporation * * 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 @@ -19,8 +19,8 @@* */ -#ifndef __TEGRA2_MMC_H_ -#define __TEGRA2_MMC_H_ +#ifndef __TEGRA_MMC_H_ +#define __TEGRA_MMC_H_#define TEGRA2_SDMMC1_BASE 0xC8000000#define TEGRA2_SDMMC2_BASE 0xC8000200@@ -128,4 +128,4 @@ struct mmc_host { };#endif /* __ASSEMBLY__ */ -#endif /* __TEGRA2_MMC_H_ */ +#endif /* __TEGRA_MMC_H_ */ include/configs/harmony.h +1
-1@@ -55,7 +55,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION include/configs/medcom.h +1
-1@@ -45,7 +45,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION include/configs/paz00.h +1
-1@@ -42,7 +42,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION include/configs/plutux.h +1
-1@@ -45,7 +45,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION include/configs/seaboard.h +1
-1@@ -86,7 +86,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION include/configs/trimslice.h +1
-1@@ -58,7 +58,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION include/configs/ventana.h +1
-1@@ -49,7 +49,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION include/configs/whistler.h +1
-2@@ -58,7 +58,7 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA2_MMC +#define CONFIG_TEGRA_MMC #define CONFIG_CMD_MMC #define CONFIG_DOS_PARTITION --1.7.0.4