summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2014-10-02 12:16:22 -0700
committerStefano Babic <sbabic@denx.de>2014-10-06 17:57:20 +0200
commitc9c86bde3d8d24a9eee06f64eaa2e14206c76d77 (patch)
treea2566166a2edea5906d0960a8754036021bf6f36 /board
parent39d0973300b83c08f3f5047245ebf1de883b31f2 (diff)
downloadu-boot-imx-c9c86bde3d8d24a9eee06f64eaa2e14206c76d77.zip
u-boot-imx-c9c86bde3d8d24a9eee06f64eaa2e14206c76d77.tar.gz
u-boot-imx-c9c86bde3d8d24a9eee06f64eaa2e14206c76d77.tar.bz2
nitrogen6x: implement board_cfb_skip() to disable text output
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>
Diffstat (limited to 'board')
-rw-r--r--board/boundary/nitrogen6x/nitrogen6x.c5
1 files changed, 5 insertions, 0 deletions
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;