mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
tegra: don't hard-code LCD into default TEGRA_DEVICE_SETTINGS
Only add "lcd" into TEGRA_DEVICE_SETTINGS if CONFIG_VIDEO_TEGRA. Otherwise, "lcd" is meaningless. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
4727a13bde
commit
c35eb56a0e
1 changed files with 9 additions and 2 deletions
|
@ -133,10 +133,17 @@
|
|||
#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,lcd\0" \
|
||||
"stderr=serial,lcd\0" \
|
||||
"stdout=serial" STDOUT_LCD "\0" \
|
||||
"stderr=serial" STDOUT_LCD "\0" \
|
||||
""
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
TEGRA_DEVICE_SETTINGS \
|
||||
|
|
Loading…
Add table
Reference in a new issue