]> git.sur5r.net Git - u-boot/commitdiff
nitrogen6x: implement board_cfb_skip() to disable text output
authorEric Nelson <eric.nelson@boundarydevices.com>
Thu, 2 Oct 2014 19:16:22 +0000 (12:16 -0700)
committerStefano Babic <sbabic@denx.de>
Mon, 6 Oct 2014 15:57:20 +0000 (17:57 +0200)
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

index 60a09f4bb3e85cb7833c2900ecc1f53aab79c7c7..1a6edac02b43bf03c72d8c6e13865c0680ca1cf2 100644 (file)
@@ -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;