diff mbox

[U-Boot,V2,1/4] ARM: tegra: make bounce buffer option common

Message ID 1362099828-25645-1-git-send-email-swarren@wwwdotorg.org
State Accepted
Delegated to: Tom Warren
Headers show

Commit Message

Stephen Warren March 1, 2013, 1:03 a.m. UTC
From: Stephen Warren <swarren@nvidia.com>

All Tegra devices will need CONFIG_BOUNCE_BUFFER. Move it to
tegra-common.h to ensure it's always set.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
v2: Add missing word to commit subject.

This is based on u-boot-tegra/next, plus my reset vector fix (which
shouldn't conflict), plus Tom's Tegra30 MMC series.

 include/configs/tegra-common.h   |    3 +++
 include/configs/tegra20-common.h |    3 ---
 include/configs/tegra30-common.h |    3 ---
 3 files changed, 3 insertions(+), 6 deletions(-)

Comments

Simon Glass March 2, 2013, 7:02 p.m. UTC | #1
On Thu, Feb 28, 2013 at 5:03 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> All Tegra devices will need CONFIG_BOUNCE_BUFFER. Move it to
> tegra-common.h to ensure it's always set.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>

Acked-by: Simon Glass <sjg@chromium.org>

> ---
> v2: Add missing word to commit subject.
>
> This is based on u-boot-tegra/next, plus my reset vector fix (which
> shouldn't conflict), plus Tom's Tegra30 MMC series.
>
>  include/configs/tegra-common.h   |    3 +++
>  include/configs/tegra20-common.h |    3 ---
>  include/configs/tegra30-common.h |    3 ---
>  3 files changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
> index 4a656bb..a3cb5b9 100644
> --- a/include/configs/tegra-common.h
> +++ b/include/configs/tegra-common.h
> @@ -157,4 +157,7 @@
>  #define CONFIG_SPL_SERIAL_SUPPORT
>  #define CONFIG_SPL_GPIO_SUPPORT
>
> +/* Misc utility code */
> +#define CONFIG_BOUNCE_BUFFER
> +
>  #endif /* _TEGRA_COMMON_H_ */
> diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h
> index 33e5f52..dac8245 100644
> --- a/include/configs/tegra20-common.h
> +++ b/include/configs/tegra20-common.h
> @@ -114,7 +114,4 @@
>  #define CONFIG_SYS_NAND_SELF_INIT
>  #define CONFIG_SYS_NAND_ONFI_DETECTION
>
> -/* Misc utility code */
> -#define CONFIG_BOUNCE_BUFFER
> -
>  #endif /* _TEGRA20_COMMON_H_ */
> diff --git a/include/configs/tegra30-common.h b/include/configs/tegra30-common.h
> index bd1dfe8..04517e1 100644
> --- a/include/configs/tegra30-common.h
> +++ b/include/configs/tegra30-common.h
> @@ -86,7 +86,4 @@
>  /* Total I2C ports on Tegra30 */
>  #define TEGRA_I2C_NUM_CONTROLLERS      5
>
> -/* Misc utility code */
> -#define CONFIG_BOUNCE_BUFFER
> -
>  #endif /* _TEGRA30_COMMON_H_ */
> --
> 1.7.10.4
>
diff mbox

Patch

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 4a656bb..a3cb5b9 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -157,4 +157,7 @@ 
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_GPIO_SUPPORT
 
+/* Misc utility code */
+#define CONFIG_BOUNCE_BUFFER
+
 #endif /* _TEGRA_COMMON_H_ */
diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h
index 33e5f52..dac8245 100644
--- a/include/configs/tegra20-common.h
+++ b/include/configs/tegra20-common.h
@@ -114,7 +114,4 @@ 
 #define CONFIG_SYS_NAND_SELF_INIT
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 
-/* Misc utility code */
-#define CONFIG_BOUNCE_BUFFER
-
 #endif /* _TEGRA20_COMMON_H_ */
diff --git a/include/configs/tegra30-common.h b/include/configs/tegra30-common.h
index bd1dfe8..04517e1 100644
--- a/include/configs/tegra30-common.h
+++ b/include/configs/tegra30-common.h
@@ -86,7 +86,4 @@ 
 /* Total I2C ports on Tegra30 */
 #define TEGRA_I2C_NUM_CONTROLLERS	5
 
-/* Misc utility code */
-#define CONFIG_BOUNCE_BUFFER
-
 #endif /* _TEGRA30_COMMON_H_ */