projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d0973
)
nitrogen6x: implement board_cfb_skip() to disable text output
author
Eric Nelson
<eric.nelson@boundarydevices.com>
Thu, 2 Oct 2014 19:16:22 +0000
(12:16 -0700)
committer
Stefano 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
patch
|
blob
|
history
diff --git
a/board/boundary/nitrogen6x/nitrogen6x.c
b/board/boundary/nitrogen6x/nitrogen6x.c
index
60a09f4
..
1a6edac
100644
(file)
--- 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;