From patchwork Thu Oct 2 19:16:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Nelson X-Patchwork-Id: 396061 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id E4F1D140174 for ; Fri, 3 Oct 2014 05:17:19 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7CBC4AB582; Thu, 2 Oct 2014 21:17:14 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JMsP+KVzbAyb; Thu, 2 Oct 2014 21:17:14 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F04B4AB570; Thu, 2 Oct 2014 21:17:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 95ECB4B5F5 for ; Thu, 2 Oct 2014 21:17:07 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o5XQ9DNCELIA for ; Thu, 2 Oct 2014 21:17:07 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by theia.denx.de (Postfix) with ESMTPS id 310E84B5EC for ; Thu, 2 Oct 2014 21:17:04 +0200 (CEST) Received: by mail-pa0-f49.google.com with SMTP id hz1so3150637pad.8 for ; Thu, 02 Oct 2014 12:17:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=B71YW/bFAp75WagXALjOzUw54ZPXpSmiwK7rv0MJmXk=; b=NvUOL3Tq0wpNutRMoGhm2o25Y3K8Pd4bdQ2m4hL0ywSvQbV/gSbEIT7OWnT1UJur9B zDefY0nR/kCmVzbGeqhSeLmuWr9heePgCCHO43B7RSrIm5Dd1lZik22hcH80uQpQtC7g bf8NNjML/vS2BB+M6+yBF0OOoqqxix0arLRmqz2oDiEcLIYAnZDqUDvozcDlCYwL3s44 K1Wfsvuty30iOQ/A82X4lJtMmYbo4QlTAFrEzHjZuhNSiMTYDd0/GpaYpe76en+lWsgs 7/ZZa9Vk+RZG5tQiZ2UMzKOIpy1U3YyywNhvJicVV/PgejOPZTDFkBQUqd9p3KGnAkgG PQdw== X-Gm-Message-State: ALoCoQnxZPGodlu8vVEXOnqSj2EtpRhfApWz40bhWUFzNVwzdo6GcBH/wEz4AekUzicsRc0ZK5ma X-Received: by 10.69.31.107 with SMTP id kl11mr1044308pbd.77.1412277422775; Thu, 02 Oct 2014 12:17:02 -0700 (PDT) Received: from localhost.localdomain (174-19-208-215.phnx.qwest.net. [174.19.208.215]) by mx.google.com with ESMTPSA id ot8sm4569317pbc.1.2014.10.02.12.17.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Oct 2014 12:17:01 -0700 (PDT) From: Eric Nelson To: u-boot@lists.denx.de Date: Thu, 2 Oct 2014 12:16:22 -0700 Message-Id: <1412277413-30271-2-git-send-email-eric.nelson@boundarydevices.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412277413-30271-1-git-send-email-eric.nelson@boundarydevices.com> References: <1412277413-30271-1-git-send-email-eric.nelson@boundarydevices.com> Cc: diego.rondini@kynetics.it Subject: [U-Boot] [PATCH 01/32] nitrogen6x: implement board_cfb_skip() to disable text output X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 --- board/boundary/nitrogen6x/nitrogen6x.c | 5 +++++ 1 file changed, 5 insertions(+) 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;