From patchwork Wed Feb 26 17:15:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1245210 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=EL/QJMoY; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48SMw14T9gz9sPK for ; Thu, 27 Feb 2020 04:18:41 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5D93D81237; Wed, 26 Feb 2020 18:16:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.b="EL/QJMoY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5161C8065D; Wed, 26 Feb 2020 18:16:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED,URIBL_RHS_DOB autolearn=no autolearn_force=no version=3.4.2 Received: from smtpcmd11121.aruba.it (smtpcmd11121.aruba.it [62.149.156.121]) by phobos.denx.de (Postfix) with ESMTP id 3BFD28081D for ; Wed, 26 Feb 2020 18:16:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=giulio.benetti@benettiengineering.com Received: from ubuntu.localdomain ([212.103.203.10]) by smtpcmd11.ad.aruba.it with bizsmtp id 7VG12203j0DySFo01VG5ks; Wed, 26 Feb 2020 18:16:05 +0100 From: Giulio Benetti To: u-boot@lists.denx.de Cc: Stefano Babic , Lukasz Majewski , Fabio Estevam , uboot-imx@nxp.com, Anatolij Gustschin , Simon Glass , Daniel Schwierzeck , Giulio Benetti Subject: [PATCH 13/18] imxrt1050_evk: add 16bpp video support if video layer enabled Date: Wed, 26 Feb 2020 18:15:56 +0100 Message-Id: <20200226171601.31142-14-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200226171601.31142-1-giulio.benetti@benettiengineering.com> References: <20200226171601.31142-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1582737365; bh=wdi1kdZ1Lw6TC4Kzxard3Km7XbehdHVkKyyn2L+dfLU=; h=From:To:Subject:Date:MIME-Version; b=EL/QJMoY0qrdSG5cZhtdGMvN8J2zeEDdgUv0L3Qt/Ika8LYcVX908XRChyKOtW5fq iHKPhJoJSih+1oRq05lEuLY8hQHBXx4b32UzAPTvdywW8auH9YrQ4WK5AXsB1T/OHz z2EUPtpv0BTHph9GdV0Xx/XQ6EtgtyHXNty+rLmfKqOMf64b+EPAuNDl7ZFQvIzEAZ Kt0egqwh3Lhoe0Q1yKvF4rUs52fmd8AOtv24tF8ah+quCJICzm01Gt6q01Ue4pQAY5 xiaHFyKPj/WD0jYs4c1DLd+ghe67geC262XP0EUBRKSlbtmJmacDIhZG1Jpo7Vkqkb 91zSibjsgJgpw== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean i.MXRT1050 provides mxsfb compatible lcd controller, so let's enable video mxsfb driver with 16bpp depth if CONFIG_DM_VIDEO is selected since board has 16bpp only connection. Signed-off-by: Giulio Benetti --- include/configs/imxrt1050-evk.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/configs/imxrt1050-evk.h b/include/configs/imxrt1050-evk.h index cdec657fb0..3a6b972d9a 100644 --- a/include/configs/imxrt1050-evk.h +++ b/include/configs/imxrt1050-evk.h @@ -30,6 +30,21 @@ #define CONFIG_SYS_MMC_ENV_DEV 0 /* USDHC1 */ +#ifdef CONFIG_DM_VIDEO +#define CONFIG_VIDEO_MXS +#define CONFIG_VIDEO_LOGO +#define CONFIG_SPLASH_SCREEN +#define CONFIG_SPLASH_SCREEN_ALIGN +#define CONFIG_BMP_16BPP +#define CONFIG_VIDEO_BMP_RLE8 +#define CONFIG_VIDEO_BMP_LOGO + +#define CONFIG_EXTRA_ENV_SETTINGS \ + "stdin=serial\0" \ + "stdout=serial,vidconsole\0" \ + "stderr=serial,vidconsole\0" +#endif + /* * Configuration of the external SDRAM memory */