summaryrefslogtreecommitdiffstats
path: root/board/freescale
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-09-11 18:14:30 -0300
committerStefano Babic <sbabic@denx.de>2013-09-20 17:55:36 +0200
commit59f46f4a73b13dc500e6cdb13b507f2aa3bc8c45 (patch)
tree864b68ba7cf692dabace38465256d056385a9b49 /board/freescale
parent1601ba4d1e9711e9259ea563b3a2ee1c7c4b3f36 (diff)
downloadu-boot-59f46f4a73b13dc500e6cdb13b507f2aa3bc8c45.tar.gz
u-boot-59f46f4a73b13dc500e6cdb13b507f2aa3bc8c45.tar.xz
u-boot-59f46f4a73b13dc500e6cdb13b507f2aa3bc8c45.zip
mx6sabresd: Reset counter to prevent error message
If a HDMI cable is not connected, the following message is seen on boot: CPU: Freescale i.MX6Q rev1.1 at 792 MHz Reset cause: POR Board: MX6-SabreSD DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 No panel detected: default to HDMI unsupported panel HDMI Reset the 'i' variable to fix the 'unsupported panel' message. This follows the same idea of commit 47ac53d7ae (imx: nitrogen6x/mx6qsabrelite: Fix bug in board_video_skip). Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx6sabresd/mx6sabresd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
index 0f91fe27ee..61fe67c71c 100644
--- a/board/freescale/mx6sabresd/mx6sabresd.c
+++ b/board/freescale/mx6sabresd/mx6sabresd.c
@@ -322,6 +322,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++) {