diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-12 06:21:59 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 10:08:20 -0600 |
commit | 50d8c4a4652311e66e6ff1e44d09f17046261ee1 (patch) | |
tree | 232e14126db7dbe0d64ad228b88caf1cc2cc2772 | |
parent | f93472a0221b6e1eb7acce8aee6c2eb335904f58 (diff) | |
download | u-boot-50d8c4a4652311e66e6ff1e44d09f17046261ee1.tar.gz |
tegra: Show a debug message if the LCD PMIC fails to start
This error condition should have a debug() message. Add it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Beaver, Jetson-TK1
-rw-r--r-- | arch/arm/mach-tegra/board2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board2.c b/arch/arm/mach-tegra/board2.c index 99057201d4..6b5fa7df62 100644 --- a/arch/arm/mach-tegra/board2.c +++ b/arch/arm/mach-tegra/board2.c @@ -156,8 +156,10 @@ int board_init(void) #if defined(CONFIG_DM_VIDEO) board_id = tegra_board_id(); err = tegra_lcd_pmic_init(board_id); - if (err) + if (err) { + debug("Failed to set up LCD PMIC\n"); return err; + } #endif #ifdef CONFIG_TEGRA_NAND |