From patchwork Tue Oct 15 08:28:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1176809 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 46spWJ38VVz9sPT for ; Tue, 15 Oct 2019 19:29:30 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 99E38C21DA6; Tue, 15 Oct 2019 08:29:22 +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 451BAC21C29; Tue, 15 Oct 2019 08:29:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C695DC21C29; Tue, 15 Oct 2019 08:29:19 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lists.denx.de (Postfix) with ESMTPS id 6195CC21BE5 for ; Tue, 15 Oct 2019 08:29:19 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46spW20Cj8z1qrJt; Tue, 15 Oct 2019 10:29:17 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46spW150V8z1rHcs; Tue, 15 Oct 2019 10:29:17 +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 D6M6IOhLtqgT; Tue, 15 Oct 2019 10:29:15 +0200 (CEST) X-Auth-Info: HtYvSff7dtKBgNN32qQZKpST5VHHPSqYDGsVCfSiPB0= 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, 15 Oct 2019 10:29:15 +0200 (CEST) From: Lukasz Majewski To: Stefano Babic , u-boot@lists.denx.de, Tom Rini Date: Tue, 15 Oct 2019 10:28:42 +0200 Message-Id: <20191015082847.30865-1-lukma@denx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: Albert Aribaud , Parthiban Nallathambi , Otavio Salvador , Martyn Welch , "NXP i.MX U-Boot Team" , Stefan Roese , Michal Simek , Marek Vasut Subject: [U-Boot] [PATCH v2 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: , 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) Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/597730941 Applied on top of i.MX -next tree: SHA1: 6891152a4596d38ac25d2fe1238e3b6a938554b8 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 | 41 ++- configs/mccmon6_sd_defconfig | 34 ++- include/configs/mccmon6.h | 70 ++--- 10 files changed, 769 insertions(+), 503 deletions(-) create mode 100644 arch/arm/dts/imx6q-mccmon6.dts