From patchwork Fri Dec 14 13:39:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1013514 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 43GWqf0ghSz9sB5 for ; Sat, 15 Dec 2018 00:39:21 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 433B5C21FFE; Fri, 14 Dec 2018 13:39:17 +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 B0E83C21DC1; Fri, 14 Dec 2018 13:39:12 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3D21DC21DC1; Fri, 14 Dec 2018 13:39:11 +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 BFF53C21D9A for ; Fri, 14 Dec 2018 13:39:10 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 43GWqL47CNz1r9bF; Fri, 14 Dec 2018 14:39:10 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 43GWqL3synz1qql3; Fri, 14 Dec 2018 14:39:10 +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 3g-GA3WHnd0L; Fri, 14 Dec 2018 14:39:09 +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; Fri, 14 Dec 2018 14:39:09 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 421244540417; Fri, 14 Dec 2018 14:39:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8K4XiI46oQVD; Fri, 14 Dec 2018 14:39:05 +0100 (CET) Received: from [192.168.178.132] (papero.fritz.box [192.168.178.132]) by babic.homelinux.org (Postfix) with ESMTP id 9715B4540343; Fri, 14 Dec 2018 14:39:04 +0100 (CET) To: Tom Rini , "U-Boot@lists.denx.de" From: Stefano Babic Openpgp: preference=signencrypt Autocrypt: addr=sbabic@denx.de; prefer-encrypt=mutual; keydata= xsDiBEfdB5IRBADkpYcnh2BoAkGD5p186ysEkWlcp5DU07m7BKzvkEMRhFjeFUOU0klKNmh0 ZM6rKpYpAYPYBm9YahMyqvj9DmLrZ4yfJ5MssvW9SRETmHpva+h1rN+DzmEcwrqZmLG1JWGy LA5ruJaFSzxJHBoROoog1NDMbNDB8A9F7VKrePfkVwCgmODpW/uh2IuMYLVidzDeuvo7alED /iV8rwU7C+eBcKy2htuDsEmsqlkBxIDM7IO6h5XxdyqbZOYizuBP3Ksb6xK54weEaB5aQs7S 8N9Soi0p1Xh0LMWj6PBCzTC4LF+OCGEMBPc6bBHNzivChgztJlUMioC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xPvD5Wy5RNJCES8McPtAseU tMfCSQQYEQIACQUCR90HmAIbDAAKCRD09WXkmmjvpv+3AJ9RakBsH1j0X/Kxp6t2lf0VUfS2 qACfZ+J6ktk8PKNuyHf0J/I0mbCrhV4= Message-ID: <47f84fa8-ca1d-162c-5ad7-00af3bf73c96@denx.de> Date: Fri, 14 Dec 2018 14:39:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Language: de-DE Subject: [U-Boot] [PULL] Please pull u-boot-imx: u-boot-imx-20181214 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 ! The following changes since commit c49aff3e66b930aa06936afee401cf5e19377958: Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2018-12-07 19:02:01 -0500) are available in the Git repository at: git://www.denx.de/git/u-boot-imx.git tags/u-boot-imx-20181214 for you to fetch changes up to 5d0f0b567c78197db6f2f47c89a18b44ade28284: pico-imx7d: Increase the CONFIG_ENV_OFFSET size (2018-12-14 14:30:57 +0100) ---------------------------------------------------------------- imx for 2019.01 - introduce support for i.MX8M - fix size limit for Vhybrid / pico boards - several board fixes - w1 driver for MX2x / MX5x ---------------------------------------------------------------- Denis Zalevskiy (6): board: ge: Remove EEPROM bus param from read_vpd() board: ge: Move VPD EEPROM configuration to the defconfig bootcount: i2c: Add bus switching to the I2C bootcount driver bootcount: Configure length limit for I2C bootcount board: ge: Move VPD reading to the vpd_reader board: ge: Store bootcount in EEPROM on PPD and Bx50v3 Fabien Lahoudere (1): embestmx6boards: Add SPL support Fabio Estevam (1): pico-imx7d: Increase the CONFIG_ENV_OFFSET size Gary Bisson (2): imx: mx8m: add memory mapping for CAAM and TCM imx: bootaux: fix stack and pc assignment on 64-bit platforms Harald Seiler (1): pcm058: fix NAND flash not using badblock table Lukasz Majewski (3): ARM: vybrid: Provide pinctrl driver for Vybrid (vf610) ARM: DTS: Add iomux node to vf.dtsi for Vybrid devices ARM: DTS: Provide pinfunc definitions for vybrid vf610 from Linux kernel Martin Fuzzey (1): w1: Add driver for i.MX bus master controller Martin Husemann (1): tools: improve portability of imx_cntr_image.sh Michael Heimpold (4): configs: mx23_olinuxino_defconfig: fix status led definition configs: mx23_olinuxino_defconfig: disable bootefi command doc: imx: fix typo in imximage.txt doc: imx: fix typos in mxsimage.txt Parthiban Nallathambi (1): imx: hab: extend hab_auth_img to calculate ivt_offset Peng Fan (20): imx: imx8qxp_mek: imximage: remove config.h spl: introduce function prototypes firmware: psci: introduce SPL_ARM_PSCI_FW tools: add i.MX8M image support arm: imx8qxp: build u-boot-dtb.cfgout before checking files Introduce CONFIG_FIT_EXTERNAL_OFFSET imx: cpu: add CHIP_REV_2_1 macro imx: introduce is_imx8mq helper imx: rename mx8m,MX8M to imx8m,IMX8M imx: spl: add MMC BOOT Device for i.MX8M imx: imx8m: clock refactor dram pll part imx: imx8m: introduce script to generate fit image imx: imx8m: introduce imximage cfg file imx: imx8mq: build flash.bin imx: imx8m: not build bootaux when building SPL imx: imx8m: add lpddr4 header file drivers: ddr: introduce DDR driver for i.MX8M imx: add i.MX8MQ EVK support imx8m: ddr: removed unused macros imx: mx53ppd: fix build error Pierre-Jean Texier (1): warp7: configs: add CONFIG_FIT option Wolfgang Denk (1): Enable expression support for CONFIG_BOARD_SIZE_LIMIT Xiaoliang Yang (2): watchdog: driver support for fsl-lsch2 watchdog: imx: add config to disable wdog reset Yaniv Levinsky (1): arm: imx7d: cl-som-imx7: migration to CONFIG_BLK Ye Li (2): SPL: Add HAB image authentication to FIT imx8m: Enable CONFIG_SPL_FIT_IMAGE_TINY for iMX8M Kconfig | 10 + Makefile | 24 +- arch/arm/Kconfig | 4 +- arch/arm/Makefile | 4 +- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 | 11 + arch/arm/dts/Makefile | 2 + arch/arm/dts/fsl-imx8mq-evk.dts | 414 ++++++++++++++++++++++++++++++++++ arch/arm/dts/vf.dtsi | 6 + arch/arm/dts/vf610-pinfunc.h | 810 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/include/asm/arch-imx/cpu.h | 5 +- arch/arm/include/asm/{arch-mx8m => arch-imx8m}/clock.h | 22 ++ arch/arm/include/asm/{arch-mx8m => arch-imx8m}/crm_regs.h | 4 +- arch/arm/include/asm/arch-imx8m/ddr.h | 740 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/include/asm/{arch-mx8m => arch-imx8m}/gpio.h | 4 +- arch/arm/include/asm/{arch-mx8m => arch-imx8m}/imx-regs.h | 4 +- arch/arm/include/asm/{arch-mx8m/mx8mq_pins.h => arch-imx8m/imx8mq_pins.h} | 4 +- arch/arm/include/asm/arch-imx8m/lpddr4_define.h | 97 ++++++++ arch/arm/include/asm/{arch-mx8m => arch-imx8m}/sys_proto.h | 4 +- arch/arm/include/asm/arch-mx8m/ddr.h | 355 ----------------------------- arch/arm/include/asm/mach-imx/iomux-v3.h | 2 +- arch/arm/include/asm/mach-imx/regs-lcdif.h | 6 +- arch/arm/include/asm/mach-imx/sys_proto.h | 3 +- arch/arm/mach-imx/Makefile | 54 +++-- arch/arm/mach-imx/cpu.c | 16 +- arch/arm/mach-imx/hab.c | 29 ++- arch/arm/mach-imx/imx8m/Kconfig | 23 ++ arch/arm/mach-imx/{mx8m => imx8m}/Makefile | 0 arch/arm/mach-imx/{mx8m => imx8m}/clock.c | 138 +++++++++--- arch/arm/mach-imx/{mx8m => imx8m}/clock_slice.c | 0 arch/arm/mach-imx/imx8m/imximage.cfg | 17 ++ arch/arm/mach-imx/{mx8m => imx8m}/lowlevel_init.S | 0 arch/arm/mach-imx/{mx8m => imx8m}/soc.c | 16 ++ arch/arm/mach-imx/imx_bootaux.c | 8 +- arch/arm/mach-imx/mkimage_fit_atf.sh | 137 ++++++++++++ arch/arm/mach-imx/mx6/Kconfig | 1 + arch/arm/mach-imx/mx8m/Kconfig | 10 - arch/arm/mach-imx/spl.c | 59 ++++- board/embest/mx6boards/mx6boards.c | 48 ++++ board/freescale/imx8mq_evk/Kconfig | 12 + board/freescale/imx8mq_evk/MAINTAINERS | 6 + board/freescale/imx8mq_evk/Makefile | 12 + board/freescale/imx8mq_evk/README | 36 +++ board/freescale/imx8mq_evk/imx8mq_evk.c | 130 +++++++++++ board/freescale/imx8mq_evk/lpddr4_timing.c | 1320 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ board/freescale/imx8mq_evk/lpddr4_timing_b0.c | 1191 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ board/freescale/imx8mq_evk/spl.c | 246 ++++++++++++++++++++ board/freescale/imx8qxp_mek/imximage.cfg | 1 - board/ge/bx50v3/Kconfig | 2 + board/ge/bx50v3/bx50v3.c | 57 +---- board/ge/common/Kconfig | 14 ++ board/ge/common/vpd_reader.c | 57 ++++- board/ge/common/vpd_reader.h | 16 +- board/ge/mx53ppd/Kconfig | 2 + board/ge/mx53ppd/mx53ppd.c | 50 +---- common/image.c | 1 + common/spl/Kconfig | 1 + common/spl/spl_fit.c | 21 +- configs/cl-som-imx7_defconfig | 6 +- configs/ge_bx50v3_defconfig | 27 ++- configs/imx8mq_evk_defconfig | 37 +++ configs/mx23_olinuxino_defconfig | 3 +- configs/mx53ppd_defconfig | 29 ++- configs/riotboard_spl_defconfig | 48 ++++ configs/warp7_defconfig | 2 + doc/device-tree-bindings/w1/mxc-w1.txt | 37 +++ doc/imx/mkimage/imximage.txt | 2 +- doc/imx/mkimage/mxsimage.txt | 4 +- drivers/Makefile | 1 + drivers/bootcount/Kconfig | 21 +- drivers/bootcount/bootcount_i2c.c | 79 ++++++- drivers/ddr/Kconfig | 1 + drivers/ddr/imx/Kconfig | 1 + drivers/ddr/imx/imx8m/Kconfig | 22 ++ drivers/ddr/imx/imx8m/Makefile | 11 + drivers/ddr/imx/imx8m/ddr4_init.c | 113 ++++++++++ drivers/ddr/imx/imx8m/ddrphy_csr.c | 732 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/ddr/imx/imx8m/ddrphy_train.c | 86 +++++++ drivers/ddr/imx/imx8m/ddrphy_utils.c | 186 +++++++++++++++ drivers/ddr/imx/imx8m/helper.c | 170 ++++++++++++++ drivers/ddr/imx/imx8m/lpddr4_init.c | 188 ++++++++++++++++ drivers/firmware/Kconfig | 4 + drivers/firmware/Makefile | 2 +- drivers/gpio/mxc_gpio.c | 18 +- drivers/misc/mxc_ocotp.c | 6 +- drivers/mmc/fsl_esdhc.c | 8 +- drivers/net/fec_mxc.c | 2 +- drivers/pinctrl/nxp/Kconfig | 14 ++ drivers/pinctrl/nxp/Makefile | 1 + drivers/pinctrl/nxp/pinctrl-vf610.c | 40 ++++ drivers/w1/Kconfig | 14 ++ drivers/w1/Makefile | 1 + drivers/w1/mxc_w1.c | 232 +++++++++++++++++++ drivers/watchdog/Kconfig | 6 + drivers/watchdog/Makefile | 2 + drivers/watchdog/imx_watchdog.c | 9 + include/configs/embestmx6boards.h | 13 ++ include/configs/ge_bx50v3.h | 6 +- include/configs/imx8mq_evk.h | 252 +++++++++++++++++++++ include/configs/mx53ppd.h | 6 +- include/configs/pcm058.h | 1 + include/configs/pico-imx7d.h | 3 +- include/image.h | 1 + include/imximage.h | 17 +- include/spl.h | 13 ++ tools/Makefile | 1 + tools/imagetool.h | 1 + tools/imx8m_image.sh | 43 ++++ tools/imx8mimage.c | 623 +++++++++++++++++++++++++++++++++++++++++++++++++++ tools/imx_cntr_image.sh | 2 +- tools/mkimage.c | 7 + 110 files changed, 8812 insertions(+), 608 deletions(-) create mode 100644 arch/arm/dts/fsl-imx8mq-evk.dts create mode 100644 arch/arm/dts/vf610-pinfunc.h rename arch/arm/include/asm/{arch-mx8m => arch-imx8m}/clock.h (97%) rename arch/arm/include/asm/{arch-mx8m => arch-imx8m}/crm_regs.h (65%) create mode 100644 arch/arm/include/asm/arch-imx8m/ddr.h rename arch/arm/include/asm/{arch-mx8m => arch-imx8m}/gpio.h (63%) rename arch/arm/include/asm/{arch-mx8m => arch-imx8m}/imx-regs.h (99%) rename arch/arm/include/asm/{arch-mx8m/mx8mq_pins.h => arch-imx8m/imx8mq_pins.h} (99%) create mode 100644 arch/arm/include/asm/arch-imx8m/lpddr4_define.h rename arch/arm/include/asm/{arch-mx8m => arch-imx8m}/sys_proto.h (82%) delete mode 100644 arch/arm/include/asm/arch-mx8m/ddr.h create mode 100644 arch/arm/mach-imx/imx8m/Kconfig rename arch/arm/mach-imx/{mx8m => imx8m}/Makefile (100%) rename arch/arm/mach-imx/{mx8m => imx8m}/clock.c (85%) rename arch/arm/mach-imx/{mx8m => imx8m}/clock_slice.c (100%) create mode 100644 arch/arm/mach-imx/imx8m/imximage.cfg rename arch/arm/mach-imx/{mx8m => imx8m}/lowlevel_init.S (100%) rename arch/arm/mach-imx/{mx8m => imx8m}/soc.c (92%) create mode 100755 arch/arm/mach-imx/mkimage_fit_atf.sh delete mode 100644 arch/arm/mach-imx/mx8m/Kconfig create mode 100644 board/freescale/imx8mq_evk/Kconfig create mode 100644 board/freescale/imx8mq_evk/MAINTAINERS create mode 100644 board/freescale/imx8mq_evk/Makefile create mode 100644 board/freescale/imx8mq_evk/README create mode 100644 board/freescale/imx8mq_evk/imx8mq_evk.c create mode 100644 board/freescale/imx8mq_evk/lpddr4_timing.c create mode 100644 board/freescale/imx8mq_evk/lpddr4_timing_b0.c create mode 100644 board/freescale/imx8mq_evk/spl.c create mode 100644 board/ge/common/Kconfig create mode 100644 configs/imx8mq_evk_defconfig create mode 100644 configs/riotboard_spl_defconfig create mode 100644 doc/device-tree-bindings/w1/mxc-w1.txt create mode 100644 drivers/ddr/imx/Kconfig create mode 100644 drivers/ddr/imx/imx8m/Kconfig create mode 100644 drivers/ddr/imx/imx8m/Makefile create mode 100644 drivers/ddr/imx/imx8m/ddr4_init.c create mode 100644 drivers/ddr/imx/imx8m/ddrphy_csr.c create mode 100644 drivers/ddr/imx/imx8m/ddrphy_train.c create mode 100644 drivers/ddr/imx/imx8m/ddrphy_utils.c create mode 100644 drivers/ddr/imx/imx8m/helper.c create mode 100644 drivers/ddr/imx/imx8m/lpddr4_init.c create mode 100644 drivers/pinctrl/nxp/pinctrl-vf610.c create mode 100644 drivers/w1/mxc_w1.c create mode 100644 include/configs/imx8mq_evk.h create mode 100755 tools/imx8m_image.sh create mode 100644 tools/imx8mimage.c