diff mbox

[U-Boot] wandboard: Use 32bit color depth for Fusion LCD

Message ID 1421335949-30471-1-git-send-email-otavio@ossystems.com.br
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Otavio Salvador Jan. 15, 2015, 3:32 p.m. UTC
The Fusion LCD needs the 32bit color depth to properly work; the
default is different on the 3.10.17 kernels and it is better to ensure
it work out of box using proper default color setting.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 include/configs/wandboard.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic Jan. 19, 2015, 8:03 a.m. UTC | #1
Hi Otavio,

On 15/01/2015 16:32, Otavio Salvador wrote:
> The Fusion LCD needs the 32bit color depth to properly work; the
> default is different on the 3.10.17 kernels and it is better to ensure
> it work out of box using proper default color setting.
> 
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
> 
>  include/configs/wandboard.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
> index 809017c..117d1f7 100644
> --- a/include/configs/wandboard.h
> +++ b/include/configs/wandboard.h
> @@ -175,7 +175,7 @@
>  		"if i2c probe 0x10; then " \
>  			"setenv bootargs ${bootargs} " \
>  				"video=mxcfb${nextcon}:dev=lcd,800x480@60," \
> -					"if=RGB666; " \
> +					"if=RGB666,bpp=32; " \
>  			"if test 0 -eq ${nextcon}; then " \
>  				"setenv fbmem fbmem=10M; " \
>  			"else " \
> 

Applied to -u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index 809017c..117d1f7 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -175,7 +175,7 @@ 
 		"if i2c probe 0x10; then " \
 			"setenv bootargs ${bootargs} " \
 				"video=mxcfb${nextcon}:dev=lcd,800x480@60," \
-					"if=RGB666; " \
+					"if=RGB666,bpp=32; " \
 			"if test 0 -eq ${nextcon}; then " \
 				"setenv fbmem fbmem=10M; " \
 			"else " \