Commit 1dfd2e02cbdfda2a9163a9b50beda5711e70f7f0

Authored by Ye.Li
1 parent 9a59a13016

MLK-9748 imx: mx6sxsabreauto: Add GIS support

MX6SX sabreauto board has analog video input from VADC. Add the GIS
support for this board that video input can display on LVDS at booting.

The environment variable "gis" must be set to "vadc" to enable the function.

Signed-off-by: Ye.Li <B37916@freescale.com>
(cherry picked from commit 5f2008a6dc08f07d462a063a0642f5e54fedbd21)

Showing 1 changed file with 7 additions and 1 deletions Side-by-side Diff

include/configs/mx6sxsabreauto.h
... ... @@ -33,7 +33,7 @@
33 33 #define CONFIG_REVISION_TAG
34 34  
35 35 /* Size of malloc() pool */
36   -#define CONFIG_SYS_MALLOC_LEN (10 * SZ_1M)
  36 +#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M)
37 37  
38 38 #define CONFIG_BOARD_EARLY_INIT_F
39 39 #define CONFIG_BOARD_LATE_INIT
... ... @@ -115,6 +115,7 @@
115 115  
116 116 /* VIDEO */
117 117 #define CONFIG_VIDEO
  118 +#define CONFIG_VIDEO_GIS
118 119  
119 120 /* Command definition */
120 121 #include <config_cmd_default.h>
... ... @@ -399,6 +400,11 @@
399 400 #define CONFIG_BMP_16BPP
400 401 #define CONFIG_VIDEO_BMP_RLE8
401 402 #define CONFIG_VIDEO_BMP_LOGO
  403 +#ifdef CONFIG_VIDEO_GIS
  404 +#define CONFIG_VIDEO_CSI
  405 +#define CONFIG_VIDEO_PXP
  406 +#define CONFIG_VIDEO_VADC
  407 +#endif
402 408 #endif
403 409  
404 410 #define CONFIG_CMD_USB