diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-09-11 18:14:30 -0300 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2013-11-22 17:29:35 +0800 |
commit | e949a05c960d86f9bb72c01461d9472b4e42bf8f (patch) | |
tree | 5dd37248446ba7776b44e309071abadf508a6418 | |
parent | 1d2be1755d646c2ed853c6e4ec9d24f5657bb41d (diff) | |
download | u-boot-imx-e949a05c960d86f9bb72c01461d9472b4e42bf8f.zip u-boot-imx-e949a05c960d86f9bb72c01461d9472b4e42bf8f.tar.gz u-boot-imx-e949a05c960d86f9bb72c01461d9472b4e42bf8f.tar.bz2 |
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>
(cherry picked from commit 59f46f4a73b13dc500e6cdb13b507f2aa3bc8c45)
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit 935b686faab48aea93cfc5d5e349154099b3bf0a)
-rw-r--r-- | board/freescale/mx6qsabresd/mx6qsabresd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/freescale/mx6qsabresd/mx6qsabresd.c b/board/freescale/mx6qsabresd/mx6qsabresd.c index 13c8bc2..d84c9bf 100644 --- a/board/freescale/mx6qsabresd/mx6qsabresd.c +++ b/board/freescale/mx6qsabresd/mx6qsabresd.c @@ -908,6 +908,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++) { |