All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] video: mxsfb: Break the line in videomode message
@ 2013-06-26 19:08 Fabio Estevam
  2013-06-26 19:56 ` Marek Vasut
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2013-06-26 19:08 UTC (permalink / raw)
  To: u-boot

Currently we have the following on boot:

CPU:   Freescale i.MX28 rev1.2 at 454 MHz
BOOT:  SSP SD/MMC #0, 3V3
DRAM:  128 MiB
MMC:   MXS MMC: 0
Video: MXSFB: 'videomode' variable not set!In:    serial

Break the line of the warning message in order to have a better reading format.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/video/mxsfb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index b189419..411d356 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -137,7 +137,7 @@ void *video_hw_init(void)
 	/* Suck display configuration from "videomode" variable */
 	penv = getenv("videomode");
 	if (!penv) {
-		printf("MXSFB: 'videomode' variable not set!");
+		printf("MXSFB: 'videomode' variable not set!\n");
 		return NULL;
 	}
 
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] video: mxsfb: Break the line in videomode message
  2013-06-26 19:08 [U-Boot] [PATCH] video: mxsfb: Break the line in videomode message Fabio Estevam
@ 2013-06-26 19:56 ` Marek Vasut
  2013-06-28 14:57   ` Stefano Babic
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2013-06-26 19:56 UTC (permalink / raw)
  To: u-boot

Dear Fabio Estevam,

> Currently we have the following on boot:
> 
> CPU:   Freescale i.MX28 rev1.2 at 454 MHz
> BOOT:  SSP SD/MMC #0, 3V3
> DRAM:  128 MiB
> MMC:   MXS MMC: 0
> Video: MXSFB: 'videomode' variable not set!In:    serial
> 
> Break the line of the warning message in order to have a better reading
> format.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  drivers/video/mxsfb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
> index b189419..411d356 100644
> --- a/drivers/video/mxsfb.c
> +++ b/drivers/video/mxsfb.c
> @@ -137,7 +137,7 @@ void *video_hw_init(void)
>  	/* Suck display configuration from "videomode" variable */
>  	penv = getenv("videomode");
>  	if (!penv) {
> -		printf("MXSFB: 'videomode' variable not set!");
> +		printf("MXSFB: 'videomode' variable not set!\n");

puts() ... and you might want to fix it in all drivers ;-)

>  		return NULL;
>  	}

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] video: mxsfb: Break the line in videomode message
  2013-06-26 19:56 ` Marek Vasut
@ 2013-06-28 14:57   ` Stefano Babic
  2013-06-28 15:00     ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Stefano Babic @ 2013-06-28 14:57 UTC (permalink / raw)
  To: u-boot

Hi Fabio, hi Marek,

On 26/06/2013 21:56, Marek Vasut wrote:
> Dear Fabio Estevam,
> 
>> Currently we have the following on boot:
>>
>> CPU:   Freescale i.MX28 rev1.2 at 454 MHz
>> BOOT:  SSP SD/MMC #0, 3V3
>> DRAM:  128 MiB
>> MMC:   MXS MMC: 0
>> Video: MXSFB: 'videomode' variable not set!In:    serial
>>
>> Break the line of the warning message in order to have a better reading
>> format.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>> ---
>>  drivers/video/mxsfb.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
>> index b189419..411d356 100644
>> --- a/drivers/video/mxsfb.c
>> +++ b/drivers/video/mxsfb.c
>> @@ -137,7 +137,7 @@ void *video_hw_init(void)
>>  	/* Suck display configuration from "videomode" variable */
>>  	penv = getenv("videomode");
>>  	if (!penv) {
>> -		printf("MXSFB: 'videomode' variable not set!");
>> +		printf("MXSFB: 'videomode' variable not set!\n");
> 
> puts() ... and you might want to fix it in all drivers ;-)
> 

That is correct - as it is a very small change, I fix it myself by
applying the patch.

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] video: mxsfb: Break the line in videomode message
  2013-06-28 14:57   ` Stefano Babic
@ 2013-06-28 15:00     ` Fabio Estevam
  0 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2013-06-28 15:00 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 28, 2013 at 11:57 AM, Stefano Babic <sbabic@denx.de> wrote:

> That is correct - as it is a very small change, I fix it myself by
> applying the patch.

Thanks, Stefano!

>
> Applied to u-boot-imx, thanks !
>
> Best regards,
> Stefano Babic

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-28 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-26 19:08 [U-Boot] [PATCH] video: mxsfb: Break the line in videomode message Fabio Estevam
2013-06-26 19:56 ` Marek Vasut
2013-06-28 14:57   ` Stefano Babic
2013-06-28 15:00     ` Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.