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>
This commit is contained in:

committed by
Stefano Babic

parent
39d0973300
commit
c9c86bde3d
@@ -558,6 +558,11 @@ struct display_info_t const displays[] = {{
|
|||||||
} } };
|
} } };
|
||||||
size_t display_count = ARRAY_SIZE(displays);
|
size_t display_count = ARRAY_SIZE(displays);
|
||||||
|
|
||||||
|
int board_cfb_skip(void)
|
||||||
|
{
|
||||||
|
return NULL != getenv("novideo");
|
||||||
|
}
|
||||||
|
|
||||||
static void setup_display(void)
|
static void setup_display(void)
|
||||||
{
|
{
|
||||||
struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;
|
struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;
|
||||||
|
Reference in New Issue
Block a user