Skip to contentSkip to conversation

wandboard: Remove videoargs script

PATCH New Fabio Estevam 1 participant 1 message Sep 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wandboard: Remove videoargs script

From: Fabio Estevam <[email protected]>

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.

---
 include/configs/wandboard.h | 26 --------------------------
 1 file changed, 26 deletions(-)
include/configs/wandboard.h +0 -26
index 295f834..d504aec 100644
@@ -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 at 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 at 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; " \
Signature · 1 line
2.7.4