From patchwork Sat Feb 16 10:45:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1043414 X-Patchwork-Delegate: trini@ti.com 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 441n6z2561z9s7T for ; Sat, 16 Feb 2019 21:53:47 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id F2B1FC21E13; Sat, 16 Feb 2019 10:52:08 +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=none 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 D558BC21E74; Sat, 16 Feb 2019 10:52:00 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 76D51C21E08; Sat, 16 Feb 2019 10:45:37 +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 3248EC21E3E for ; Sat, 16 Feb 2019 10:45:29 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 441mxP09K5z1qvyt; Sat, 16 Feb 2019 11:45:28 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 441mxN6mtcz1qvWJ; Sat, 16 Feb 2019 11:45:28 +0100 (CET) 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 2968BO93rIyQ; Sat, 16 Feb 2019 11:45:26 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sat, 16 Feb 2019 11:45:26 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id E43304540398; Sat, 16 Feb 2019 11:45:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id rUyTlODIx8x5; Sat, 16 Feb 2019 11:45:23 +0100 (CET) Received: from [192.168.178.132] (papero.fritz.box [192.168.178.132]) by babic.homelinux.org (Postfix) with ESMTP id 0A4D6454034D; Sat, 16 Feb 2019 11:45:23 +0100 (CET) To: Tom Rini From: Stefano Babic Openpgp: preference=signencrypt Autocrypt: addr=sbabic@denx.de; prefer-encrypt=mutual; keydata= xsDiBEfdB5IRBADkpYcnh2BoAkGD5p186ysEkWlcp5DU07m7BKzvkEMRhFjeFUOU0klKNmh0 ZM6rKpYpAYPYBm9YahMyqvj9DmLrZ4yfJ5MssvW9SRETmHpva+h1rN+DzmEcwrqZmLG1JWGy LA5ruJaFSzxJHBoROoog1NDMbNDB8A9F7VKrePfkVwCgmODpW/uh2IuMYLVidzDeuvo7alED /iV8rwU7C+eBcKy2htuDsEmsqlkBxIDM7IO6h5XxdyqbZOYizuBP3Ksb6xK54weEaB5aQs7S 8N9Soi0p1Xh0LMWj6PBCzTC4LF+OCGEMBPc6bBHNzivChgztJlUMioCDSVpOXB/QpBaK302G yP5WdmcB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fCSQQYEQIACQUCR90HmAIbDAAKCRD09WXkmmjvpv+3AJ9RakBsH1j0X/Kxp6t2lf0VUfS2 qACfZ+J6ktk8PKNuyHf0J/I0mbCrhV4= Message-ID: <0f84eb1a-1c9d-056c-3a1d-9dfcb4ccf9af@denx.de> Date: Sat, 16 Feb 2019 11:45:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Language: de-DE Cc: "U-Boot@lists.denx.de" Subject: [U-Boot] Pull request: u-boot-imx u -boot-imx-201900216 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" Hi Tom, please pull from u-boot-imx, thanks ! Travis: https://travis-ci.org/sbabic/u-boot-imx The following changes since commit 63f7e3fca391a50a499fed828fe16325fdee45f3: Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot (2019-02-13 07:12:29 -0500) are available in the Git repository at: git://www.denx.de/git/u-boot-imx.git tags/u-boot-imx-2019-02-16 for you to fetch changes up to 6ed4d26c21e46ed00ea65679b40aaf967d043dfd: imx: cpu.c: give access to reset cause in spl (2019-02-15 22:01:15 +0100) ---------------------------------------------------------------- u-boot-imx-2019-02-16 --------------------- - vhybrid: add calibration - gw_ventana: fixes - Improve documentation for Secure Boot (HABv4) - Fix Marvell Switch - MX6 Sabre, switch to DM - Fixes for NAND ---------------------------------------------------------------- Abel Vesa (19): usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE usb: ehci-mx6: Make regulator DM_REGULATOR dependent configs: imx6sabreauto: Add DM_MMC support configs: imx6sabreauto: Add DM_USB support mmc: fsl_esdhc: Fix DM_REGULATOR ifdefs for SPL builds board: mx6sabresd: Add board_fit_config_name_match to support FIT in SPL board: mx6sabreauto: Add board_fit_config_name_match to support FIT in SPL arm: dts: Add all the imx6[q|qp|dl] sabre[auto|sd] u-boot dts[i] files arm: dts: Update all the dts[i] files for imx6[q|qp|dl] sabre[auto|sd] configs: mx6sabreauto: Add SPL FIT and DM support configs: mx6sabresd: Add SPL FIT and DM support mx6sabresd: Add DM_GPIO support mx6sabreauto: Add DM_GPIO support configs: mx6sabreauto: Add DM_SPI_FLASH necessary configs board: mx6sabreauto: Remove the non-DM code configs: mx6sabresd: Add DM_SPI_FLASH necessary configs board: mx6sabresd: Remove non-DM code board: mx6sabresd: Remove the enet reset gpio handling configs: mx6sabresd: Reduce SPL size by disabling DOS, EXT and EFI support Adam Ford (6): MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC MTD: NAND: mxs_nand_init_dma: Make mxs_nand_init_dma static ARM: imx6q_logic: Enable SPL Booting from NAND ARM: imx6q_logic: Correct phy fixup for broken ethernet net: dm: fec: Fix regulator enable when using DM_REGULATOR MTD: nand: mxs_nand: Allow driver to auto setup ECC in SPL Breno Matheus Lima (6): doc: imx: habv4: Remove extra hab directory for a cleaner documentation structure doc: imx: habv4: Add HABv4 introduction doc: imx: habv4: Add Secure Boot guide for i.MX6 and i.MX7 non-SPL targets doc: imx: habv4: Add Secure Boot guide for i.MX6 and i.MX7 SPL targets doc: imx: habv4: Move encrypted boot guide doc: imx: habv4: Remove secure_boot.txt guide Lukasz Majewski (3): ddr: vybrid: Add DDRMC calibration related registers (DQS to DQ) ddr: vybrid: Provide code to perform on-boot calibration ddr: vybrid: Add calibration code to memory controler's (DDRMC) setup code Marcel Ziswiler (1): ARM: dts: i.MX6Q, i.MX6QDL: fix address/size-cells warnings Marcin Niestroj (1): ARM: dts: imx6ul-lite*: add DTS files for liteSOM and liteboard Max Krummenacher (2): imx: serial_mxc: disable ri and dcd irq in dte mode imx: cpu.c: give access to reset cause in spl Tim Harvey (15): net: mv88e61xx: fix autonegotiation on ports imx: ventana: mv88e61xx change LED configuration imx: ventana: do not iomux UART1 imx: ventana: remove setup of I2C3 from SPL imx: ventana: add support for GW5905 imx: ventana: add support for Z101WX01 LVDS display imx: ventana: skip nand init for nandless boards imx: ventana: add i2c detect for all LVDS displays imx: ventana: add support for GW5906 imx: ventana: add support for GW5907 imx: ventana: add support for GW5908 imx: ventana: add support for GW5909 imx: ventana: add support for GW5901/GW5902 imx: ventana: gw5904/gw5909: disable RS485 imx: ventana: fix usage of dt paths with leading 0s (Linux 4.15+) arch/arm/dts/Makefile | 10 +- arch/arm/dts/imx6dl-sabreauto-u-boot.dtsi | 6 + arch/arm/dts/imx6dl-sabreauto.dts | 13 ++ arch/arm/dts/imx6dl-sabresd-u-boot.dtsi | 6 + arch/arm/dts/imx6dl-sabresd.dts | 18 ++ arch/arm/dts/imx6dl.dtsi | 306 ++++++++++++++++++++++++++++--- arch/arm/dts/imx6q-sabreauto-u-boot.dtsi | 6 + arch/arm/dts/imx6q-sabreauto.dts | 18 ++ arch/arm/dts/imx6q-sabresd-u-boot.dtsi | 6 + arch/arm/dts/imx6q-sabresd.dts | 23 +++ arch/arm/dts/imx6q.dtsi | 314 ++++++++++++++++++++++++++++---- arch/arm/dts/imx6qdl-sabreauto-u-boot.dtsi | 21 +++ arch/arm/dts/imx6qdl-sabreauto.dtsi | 810 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi | 14 ++ arch/arm/dts/imx6qdl-sabresd.dtsi | 741 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx6qdl-u-boot.dtsi | 4 +- arch/arm/dts/imx6qdl.dtsi | 455 ++++++++++++++++++++++++++-------------------- arch/arm/dts/imx6qp-sabreauto-u-boot.dtsi | 6 + arch/arm/dts/imx6qp-sabreauto.dts | 55 ++++++ arch/arm/dts/imx6qp-sabresd-u-boot.dtsi | 6 + arch/arm/dts/imx6qp-sabresd.dts | 55 ++++++ arch/arm/dts/imx6qp.dtsi | 115 ++++++++++++ arch/arm/dts/imx6ul-liteboard.dts | 151 ++++++++++++++++ arch/arm/dts/imx6ul-litesom.dtsi | 82 +++++++++ arch/arm/include/asm/arch-am33xx/spl.h | 2 +- arch/arm/include/asm/arch-vf610/imx-regs.h | 14 +- arch/arm/mach-imx/Kconfig | 12 ++ arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/cpu.c | 27 +-- arch/arm/mach-imx/ddrmc-vf610-calibration.c | 342 +++++++++++++++++++++++++++++++++++ arch/arm/mach-imx/ddrmc-vf610-calibration.h | 45 +++++ arch/arm/mach-imx/ddrmc-vf610.c | 5 + arch/arm/mach-omap2/boot-common.c | 2 +- board/freescale/mx6sabreauto/mx6sabreauto.c | 91 +++------- board/freescale/mx6sabresd/mx6sabresd.c | 78 +++----- board/gateworks/gw_ventana/common.c | 514 ++++++++++++++++++++++++++++++++++++++++++---------- board/gateworks/gw_ventana/common.h | 3 +- board/gateworks/gw_ventana/eeprom.c | 18 +- board/gateworks/gw_ventana/gsc.c | 6 +- board/gateworks/gw_ventana/gsc.h | 3 +- board/gateworks/gw_ventana/gw_ventana.c | 151 +++++++++------- board/gateworks/gw_ventana/gw_ventana_spl.c | 97 +++++++++- board/gateworks/gw_ventana/ventana_eeprom.h | 7 + board/logicpd/imx6/imx6logic.c | 79 +++----- common/Makefile | 5 +- common/spl/Kconfig | 4 +- common/spl/Makefile | 2 +- common/spl/spl_usb.c | 4 - configs/am43xx_evm_usbhost_boot_defconfig | 2 +- configs/am43xx_hs_evm_defconfig | 2 +- configs/imx6q_logic_defconfig | 4 +- configs/mx6sabreauto_defconfig | 20 ++- configs/mx6sabresd_defconfig | 25 ++- doc/imx/hab/habv4/secure_boot.txt | 100 ----------- doc/imx/habv4/csf_examples/additional_images/csf_additional_images.txt | 34 ++++ doc/imx/habv4/csf_examples/mx6_mx7/csf_uboot.txt | 32 ++++ doc/imx/habv4/csf_examples/mx6_mx7/csf_uboot_fast_authentication.txt | 23 +++ doc/imx/{hab/habv4 => habv4/guides}/encrypted_boot.txt | 0 doc/imx/habv4/guides/mx6_mx7_secure_boot.txt | 402 +++++++++++++++++++++++++++++++++++++++++ doc/imx/habv4/guides/mx6_mx7_spl_secure_boot.txt | 181 +++++++++++++++++++ doc/imx/habv4/introduction_habv4.txt | 262 +++++++++++++++++++++++++++ doc/imx/habv4/script_examples/genIVT.pl | 12 ++ drivers/mmc/fsl_esdhc.c | 8 +- drivers/mtd/nand/raw/mxs_nand.c | 11 +- drivers/mtd/nand/raw/mxs_nand_spl.c | 1 + drivers/net/fec_mxc.c | 2 +- drivers/net/phy/mv88e61xx.c | 8 +- drivers/serial/serial_mxc.c | 13 +- drivers/usb/host/ehci-mx6.c | 7 +- include/configs/imx6_logic.h | 4 +- 70 files changed, 5146 insertions(+), 760 deletions(-) create mode 100644 arch/arm/dts/imx6dl-sabreauto-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-sabreauto.dts create mode 100644 arch/arm/dts/imx6dl-sabresd-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-sabresd.dts create mode 100644 arch/arm/dts/imx6q-sabreauto-u-boot.dtsi create mode 100644 arch/arm/dts/imx6q-sabreauto.dts create mode 100644 arch/arm/dts/imx6q-sabresd-u-boot.dtsi create mode 100644 arch/arm/dts/imx6q-sabresd.dts create mode 100644 arch/arm/dts/imx6qdl-sabreauto-u-boot.dtsi create mode 100644 arch/arm/dts/imx6qdl-sabreauto.dtsi create mode 100644 arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi create mode 100644 arch/arm/dts/imx6qdl-sabresd.dtsi create mode 100644 arch/arm/dts/imx6qp-sabreauto-u-boot.dtsi create mode 100644 arch/arm/dts/imx6qp-sabreauto.dts create mode 100644 arch/arm/dts/imx6qp-sabresd-u-boot.dtsi create mode 100644 arch/arm/dts/imx6qp-sabresd.dts create mode 100644 arch/arm/dts/imx6qp.dtsi create mode 100644 arch/arm/dts/imx6ul-liteboard.dts create mode 100644 arch/arm/dts/imx6ul-litesom.dtsi create mode 100644 arch/arm/mach-imx/ddrmc-vf610-calibration.c create mode 100644 arch/arm/mach-imx/ddrmc-vf610-calibration.h delete mode 100644 doc/imx/hab/habv4/secure_boot.txt create mode 100644 doc/imx/habv4/csf_examples/additional_images/csf_additional_images.txt create mode 100644 doc/imx/habv4/csf_examples/mx6_mx7/csf_uboot.txt create mode 100644 doc/imx/habv4/csf_examples/mx6_mx7/csf_uboot_fast_authentication.txt rename doc/imx/{hab/habv4 => habv4/guides}/encrypted_boot.txt (100%) create mode 100644 doc/imx/habv4/guides/mx6_mx7_secure_boot.txt create mode 100644 doc/imx/habv4/guides/mx6_mx7_spl_secure_boot.txt create mode 100644 doc/imx/habv4/introduction_habv4.txt create mode 100644 doc/imx/habv4/script_examples/genIVT.pl Best regards, Stefano