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>
master
Eric Nelson 10 years ago committed by Stefano Babic
parent 39d0973300
commit c9c86bde3d
  1. 5
      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;

Loading…
Cancel
Save