From patchwork Tue May 21 15:10:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1102875 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 457fND2l8kz9s3Z for ; Wed, 22 May 2019 01:10:52 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id DBA56C21DA2; Tue, 21 May 2019 15:10:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=KHOP_BIG_TO_CC autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 1ABE4C21C57; Tue, 21 May 2019 15:10:43 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0CAE6C21C57; Tue, 21 May 2019 15:10:42 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by lists.denx.de (Postfix) with ESMTPS id AF93CC21C2F for ; Tue, 21 May 2019 15:10:41 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 457fN0285hz1rd1r; Tue, 21 May 2019 17:10:40 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 457fMz6g4cz1qqkS; Tue, 21 May 2019 17:10:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id B-xrwhUFzU-r; Tue, 21 May 2019 17:10:37 +0200 (CEST) X-Auth-Info: 2ReZoQiGDM8grpqr4fce/EJD0ITXFtbHP8O1V6i2rS0= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 21 May 2019 17:10:37 +0200 (CEST) From: Lukasz Majewski To: Stefano Babic , u-boot@lists.denx.de, Fabio Estevam , Fabio Estevam , Tom Rini Date: Tue, 21 May 2019 17:10:14 +0200 Message-Id: <20190521151019.6497-1-lukma@denx.de> X-Mailer: git-send-email 2.11.0 Cc: Stefan Agner , Parthiban Nallathambi , Maxime Ripard , Martyn Welch , Michal Simek , Joe Hershberger , Otavio Salvador , "NXP i.MX U-Boot Team" , York Sun , Stefan Roese , Marek Vasut Subject: [U-Boot] [PATCH v1 0/5] imx: dm: Update mccmon6 board to only use DM/DTS in U-Boot proper X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This patch series converts mccmon6 to use Driver Model and Device Tree in U-Boot proper. As the SPL is size constrained (and most notably the device has a strict boot time requirements) for this board (and uses falcon boot) - its conversion to DM/DTB will be added with separate patch series. The SPL/U-Boot proper now uses fitImage instead of legacy uImage and DTB. Some notable changes: - Use fitImage to boot Linux kernel (and also use of SPL's Falcon mode when running from parallel NOR flash) - DTS sync with kernel (tag: v4.20) - Decoupling SPL and U-Boot proper for easy future SPL DM/DTS conversion - Conversion to DM_MMC, DM_SPI, and BLK (U-Boot proper) Dependencies (on top of 2019.07-rc2): "imx: Cleanup i.MX6Q mccmon6 boardconfiguration" http://patchwork.ozlabs.org/cover/1100398/ then: http://patchwork.ozlabs.org/patch/1100580/ http://patchwork.ozlabs.org/patch/1100582/ http://patchwork.ozlabs.org/patch/1100584/ http://patchwork.ozlabs.org/patch/1100583/ On top of above patches this series shall be applied. Lukasz Majewski (5): ARM: imx: Covnert mccmon6 to use DM/DTS in the u-boot proper ARM: imx: Decouple mccmon6's SPL and u-boot proper code spl: nor: Provide falcon boot support for NOR memories ARM: imx: Convert mccmon6 to use fitImage instead of uImage+DTB mccmon6: defconfig: nor: Enable usage of *_TINY_* drivers in SPL arch/arm/dts/Makefile | 1 + arch/arm/dts/imx6q-mccmon6.dts | 382 +++++++++++++++++++++++++++++++++ arch/arm/mach-imx/mx6/Kconfig | 7 + board/liebherr/mccmon6/Makefile | 7 +- board/liebherr/mccmon6/mccmon6.c | 446 --------------------------------------- board/liebherr/mccmon6/spl.c | 279 +++++++++++++++++++++++- common/spl/spl_nor.c | 5 + configs/mccmon6_nor_defconfig | 42 +++- configs/mccmon6_sd_defconfig | 35 ++- include/configs/mccmon6.h | 70 ++---- 10 files changed, 769 insertions(+), 505 deletions(-) create mode 100644 arch/arm/dts/imx6q-mccmon6.dts