* [U-Boot] [PATCH] imx: nitrogen6x/mx6qsabrelite: Fix bug in board_video_skip
@ 2013-06-13 18:32 Robert Winkler
2013-09-10 17:30 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: Robert Winkler @ 2013-06-13 18:32 UTC (permalink / raw)
To: u-boot
Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com>
---
board/boundary/nitrogen6x/nitrogen6x.c | 4 +++-
board/freescale/mx6qsabrelite/mx6qsabrelite.c | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c
index 0e2ab04..da0698d 100644
--- a/board/boundary/nitrogen6x/nitrogen6x.c
+++ b/board/boundary/nitrogen6x/nitrogen6x.c
@@ -660,6 +660,7 @@ int board_video_skip(void)
if (!panel) {
panel = displays[0].mode.name;
printf("No panel detected: default to %s\n", panel);
+ i = 0;
}
} else {
for (i = 0; i < ARRAY_SIZE(displays); i++) {
@@ -676,9 +677,10 @@ int board_video_skip(void)
displays[i].mode.name,
displays[i].mode.xres,
displays[i].mode.yres);
- } else
+ } else {
printf("LCD %s cannot be configured: %d\n",
displays[i].mode.name, ret);
+ }
} else {
printf("unsupported panel %s\n", panel);
ret = -EINVAL;
diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
index 191084b..2a81165 100644
--- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c
+++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
@@ -595,6 +595,7 @@ int board_video_skip(void)
if (!panel) {
panel = displays[0].mode.name;
printf("No panel detected: default to %s\n", panel);
+ i = 0;
}
} else {
for (i = 0; i < ARRAY_SIZE(displays); i++) {
@@ -611,9 +612,10 @@ int board_video_skip(void)
displays[i].mode.name,
displays[i].mode.xres,
displays[i].mode.yres);
- } else
+ } else {
printf("LCD %s cannot be configured: %d\n",
displays[i].mode.name, ret);
+ }
} else {
printf("unsupported panel %s\n", panel);
ret = -EINVAL;
--
1.8.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] imx: nitrogen6x/mx6qsabrelite: Fix bug in board_video_skip
2013-06-13 18:32 [U-Boot] [PATCH] imx: nitrogen6x/mx6qsabrelite: Fix bug in board_video_skip Robert Winkler
@ 2013-09-10 17:30 ` Stefano Babic
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2013-09-10 17:30 UTC (permalink / raw)
To: u-boot
On 13/06/2013 20:32, Robert Winkler wrote:
> Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com>
> ---
> board/boundary/nitrogen6x/nitrogen6x.c | 4 +++-
> board/freescale/mx6qsabrelite/mx6qsabrelite.c | 4 +++-
Of course, we have not anymore mx6qsabrelite.c
Applied (only nitrogen part) 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] 2+ messages in thread
end of thread, other threads:[~2013-09-10 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13 18:32 [U-Boot] [PATCH] imx: nitrogen6x/mx6qsabrelite: Fix bug in board_video_skip Robert Winkler
2013-09-10 17:30 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox