From: Nikolay Dimitrov <picmaster@mail.bg>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mx6sabresd: Enable HDMI video in bootargs
Date: Fri, 22 May 2015 22:19:26 +0300 [thread overview]
Message-ID: <1432322366-20190-1-git-send-email-picmaster@mail.bg> (raw)
Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
---
include/configs/mx6sabre_common.h | 7 ++++++-
include/configs/mx6sabresd.h | 6 ++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index b72522b..86745ac 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -121,6 +121,10 @@
#define EMMC_ENV ""
#endif
+#ifndef VIDEO_ARGS
+#define VIDEO_ARGS ""
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"script=boot.scr\0" \
"image=zImage\0" \
@@ -149,7 +153,8 @@
"fi\0" \
EMMC_ENV \
"mmcargs=setenv bootargs console=${console},${baudrate} " \
- "root=${mmcroot}\0" \
+ "root=${mmcroot} " \
+ VIDEO_ARGS "\0" \
"loadbootscript=" \
"fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
"bootscript=echo Running bootscript from mmc ...; " \
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index dab2fd2..1bd4912 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -31,6 +31,12 @@
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
+#define VIDEO_ARGS "video=mxcfb0:dev=hdmi,1280x720M at 60,if=RGB24 " \
+ "video=mxcfb1:off " \
+ "video=mxcfb2:off " \
+ "video=mxcfb3:off " \
+ "fbmem=28M"
+
#include "mx6sabre_common.h"
#define CONFIG_SYS_FSL_USDHC_NUM 3
--
1.7.10.4
next reply other threads:[~2015-05-22 19:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-22 19:19 Nikolay Dimitrov [this message]
2015-05-22 19:28 ` [U-Boot] [PATCH] mx6sabresd: Enable HDMI video in bootargs Fabio Estevam
2015-05-22 22:19 ` Nikolay Dimitrov
2015-05-22 22:25 ` Fabio Estevam
2015-05-23 2:10 ` Nikolay Dimitrov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1432322366-20190-1-git-send-email-picmaster@mail.bg \
--to=picmaster@mail.bg \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox