From patchwork Wed Nov 28 17:50:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot,2/3] tegra: add LCD into default TEGRA_DEVICE_SETTINGS Date: Wed, 28 Nov 2012 07:50:11 -0000 From: Stephen Warren X-Patchwork-Id: 202513 Message-Id: <1354125012-8877-2-git-send-email-swarren@wwwdotorg.org> To: u-boot@lists.denx.de, Simon Glass , Tom Warren , Stephen Warren From: Stephen Warren If LCD support is enabled, ensure that stdout and stderr are sent to the LCD too. Signed-off-by: Stephen Warren --- include/configs/tegra-common-post.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h index 1662844..c9c49d9 100644 --- a/include/configs/tegra-common-post.h +++ b/include/configs/tegra-common-post.h @@ -161,10 +161,16 @@ #define STDIN_KBD_USB "" #endif +#ifdef CONFIG_VIDEO_TEGRA +#define STDOUT_LCD ",lcd" +#else +#define STDOUT_LCD "" +#endif + #define TEGRA_DEVICE_SETTINGS \ "stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB "\0" \ - "stdout=serial\0" \ - "stderr=serial\0" \ + "stdout=serial" STDOUT_LCD "\0" \ + "stderr=serial" STDOUT_LCD "\0" \ #endif /* TEGRA_DEVICE_SETTINGS */