diff mbox

[U-Boot,01/32] nitrogen6x: implement board_cfb_skip() to disable text output

Message ID 1412277413-30271-2-git-send-email-eric.nelson@boundarydevices.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Eric Nelson Oct. 2, 2014, 7:16 p.m. UTC
Several customers have asked to leave the display quiet during
boot, so allow the user to express this request by the presence
of environment variable "novideo".

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 board/boundary/nitrogen6x/nitrogen6x.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Stefano Babic Oct. 6, 2014, 3:58 p.m. UTC | #1
On 02/10/2014 21:16, Eric Nelson wrote:
> Several customers have asked to leave the display quiet during
> boot, so allow the user to express this request by the presence
> of environment variable "novideo".
> 
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
> ---



Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c
index 60a09f4..1a6edac 100644
--- a/board/boundary/nitrogen6x/nitrogen6x.c
+++ b/board/boundary/nitrogen6x/nitrogen6x.c
@@ -558,6 +558,11 @@  struct display_info_t const displays[] = {{
 } } };
 size_t display_count = ARRAY_SIZE(displays);
 
+int board_cfb_skip(void)
+{
+	return NULL != getenv("novideo");
+}
+
 static void setup_display(void)
 {
 	struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;