Patchwork [U-Boot] tegra: remove custom TEGRA_DEVICE_SETTINGS for board files

login
register
mail settings
Submitter Marc Dietrich
Date Nov. 29, 2012, 9:23 a.m.
Message ID <452e7034c3815a158cbf1753d7f488ef93ff93a1.1354180684.git.marvin24@gmx.de>
Download mbox | patch
Permalink /patch/202689/
State Accepted
Delegated to: Tom Warren
Headers show

Comments

Marc Dietrich - Nov. 29, 2012, 9:23 a.m.
TEGRA_DEVICE_SETTINGS lives now in tegra-common-post.h.

This removes custom TEGRA_DEVICE_SETTINGS for all tegra boards providing
video output, except seaboard, which was fixed by Stephen already.

Cc: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Marc Dietrich <marvin24@gmx.de>
---
Tom,

this needs to be applied ontop of Stephen's patch
"tegra: only define TEGRA_DEVICE_SETTINGS if not already defined"

 include/configs/medcom-wide.h | 6 ------
 include/configs/paz00.h       | 6 ------
 include/configs/tec.h         | 6 ------
 3 files changed, 18 deletions(-)
Stephen Warren - Nov. 29, 2012, 6:20 p.m.
On 11/29/2012 02:23 AM, Marc Dietrich wrote:
> TEGRA_DEVICE_SETTINGS lives now in tegra-common-post.h.
> 
> This removes custom TEGRA_DEVICE_SETTINGS for all tegra boards providing
> video output, except seaboard, which was fixed by Stephen already.

Reviewed-by: Stephen Warren <swarren@nvidia.com>

I guess I should have done this too, except I didn't see these since my
patches were based on a branch that didn't include u-boot-tegra/next.

Patch

diff --git a/include/configs/medcom-wide.h b/include/configs/medcom-wide.h
index 452d587..bae4ba0 100644
--- a/include/configs/medcom-wide.h
+++ b/include/configs/medcom-wide.h
@@ -78,12 +78,6 @@ 
 	"ext2load mmc 0 0x17000000 /boot/uImage;"	\
 	"bootm"
 
-#undef TEGRA_DEVICE_SETTINGS
-#define TEGRA_DEVICE_SETTINGS	\
-	"stdin=serial\0"	\
-	"stdout=serial,lcd\0"	\
-	"stderr=serial,lcd\0"
-
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
diff --git a/include/configs/paz00.h b/include/configs/paz00.h
index 4a74d00..2edb4aa 100644
--- a/include/configs/paz00.h
+++ b/include/configs/paz00.h
@@ -72,12 +72,6 @@ 
 #define CONFIG_CMD_NET
 #define CONFIG_CMD_DHCP
 
-#undef TEGRA_DEVICE_SETTINGS
-#define TEGRA_DEVICE_SETTINGS	\
-	"stdin=serial\0"	\
-	"stdout=serial,lcd\0"	\
-	"stderr=serial,lcd\0"
-
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
diff --git a/include/configs/tec.h b/include/configs/tec.h
index 815afa6..caeb9cd 100644
--- a/include/configs/tec.h
+++ b/include/configs/tec.h
@@ -85,12 +85,6 @@ 
 	"ext2load mmc 0 0x17000000 /boot/uImage;"	\
 	"bootm"
 
-#undef TEGRA_DEVICE_SETTINGS
-#define TEGRA_DEVICE_SETTINGS	\
-	"stdin=serial\0"	\
-	"stdout=serial,lcd\0"	\
-	"stderr=serial,lcd\0"
-
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA