diff mbox

[U-Boot] wandboard: Remove videoargs script

Message ID 1473692507-14715-1-git-send-email-festevam@gmail.com
State Accepted
Commit 5cca52a4cad8461457d938512829eeb9c68377ff
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Sept. 12, 2016, 3:01 p.m. UTC
From: Fabio Estevam <fabio.estevam@nxp.com>

The videoargs script is kernel version dependent and since wandboard
uses distro config, there is no need to handle videoargs locally.

In case such video related settings are needed, then the proper
location would be the distro extlinux.conf or boot.scr files.

So remove 'videoargs' script.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 include/configs/wandboard.h | 26 --------------------------
 1 file changed, 26 deletions(-)
diff mbox

Patch

diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index 295f834..d504aec 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -118,32 +118,6 @@ 
 				"mmc write ${loadaddr} 0x2 ${fw_sz}; " \
 			"fi; "	\
 		"fi\0" \
-	"videoargs=" \
-		"setenv nextcon 0; " \
-		"if hdmidet; then " \
-			"setenv bootargs ${bootargs} " \
-				"video=mxcfb${nextcon}:dev=hdmi,1280x720M@60," \
-					"if=RGB24; " \
-			"setenv fbmen fbmem=28M; " \
-			"setexpr nextcon ${nextcon} + 1; " \
-		"else " \
-			"echo - no HDMI monitor;" \
-		"fi; " \
-		"i2c dev 1; " \
-		"if i2c probe 0x10; then " \
-			"setenv bootargs ${bootargs} " \
-				"video=mxcfb${nextcon}:dev=lcd,800x480@60," \
-					"if=RGB666,bpp=32; " \
-			"if test 0 -eq ${nextcon}; then " \
-				"setenv fbmem fbmem=10M; " \
-			"else " \
-				"setenv fbmem ${fbmem},10M; " \
-			"fi; " \
-			"setexpr nextcon ${nextcon} + 1; " \
-		"else " \
-			"echo '- no FWBADAPT-7WVGA-LCD-F07A-0102 display';" \
-		"fi; " \
-		"setenv bootargs ${bootargs} ${fbmem}\0" \
 	"findfdt="\
 		"if test $board_name = C1 && test $board_rev = MX6Q ; then " \
 			"setenv fdtfile imx6q-wandboard.dtb; fi; " \