[U-Boot] [PULL] Please pull u-boot-imx: u-boot-imx-20181214

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

On Fri, Dec 14, 2018 at 02:39:04PM +0100, Stefano Babic wrote:
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)
NAK. You're failing the "no new defconfigs without MAINTAINERS" test in Travis: https://travis-ci.org/trini/u-boot/jobs/468004873#L975
Also, Wolfgang's patch is breaking guruplug,sheevaplug,linkit-smart-7688-ram,colibri_pxa270,linkit-smart-7688,gardena-smart-gateway-mt7688-ram,gardena-smart-gateway-mt7688 in my specific Debian chroot and I need to dig in more to provide something useful there other than "it fails". So please drop that for now too. Thanks!

On 14/12/18 19:37, Tom Rini wrote:
On Fri, Dec 14, 2018 at 02:39:04PM +0100, Stefano Babic wrote:
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)
NAK. You're failing the "no new defconfigs without MAINTAINERS" test in Travis: https://travis-ci.org/trini/u-boot/jobs/468004873#L975
I see, I'll ix it.
Also, Wolfgang's patch is breaking guruplug,sheevaplug,linkit-smart-7688-ram,colibri_pxa270,linkit-smart-7688,gardena-smart-gateway-mt7688-ram,gardena-smart-gateway-mt7688 in my specific Debian chroot and I need to dig in more to provide something useful there other than "it fails". So please drop that for now too.
I do, I put Fabio's pico-7d in wait queue as this depends on Wolfgang's
Regards, Stefano

On Fri, Dec 14, 2018 at 11:03:59PM +0100, Stefano Babic wrote:
On 14/12/18 19:37, Tom Rini wrote:
On Fri, Dec 14, 2018 at 02:39:04PM +0100, Stefano Babic wrote:
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)
NAK. You're failing the "no new defconfigs without MAINTAINERS" test in Travis: https://travis-ci.org/trini/u-boot/jobs/468004873#L975
I see, I'll ix it.
Also, Wolfgang's patch is breaking guruplug,sheevaplug,linkit-smart-7688-ram,colibri_pxa270,linkit-smart-7688,gardena-smart-gateway-mt7688-ram,gardena-smart-gateway-mt7688 in my specific Debian chroot and I need to dig in more to provide something useful there other than "it fails". So please drop that for now too.
I do, I put Fabio's pico-7d in wait queue as this depends on Wolfgang's
I replied to Wolfgang's patch with the problem and I suggest that pico-7d simply stop using >> as it's not going to work once we Kconfig migrate anyhow.

Hi Tom,
On Fri, Dec 14, 2018 at 8:06 PM Tom Rini trini@konsulko.com wrote:
I replied to Wolfgang's patch with the problem and I suggest that pico-7d simply stop using >> as it's not going to work once we Kconfig migrate anyhow.
pico-imx7d does not use >>.
I sent 5 different versions of this patch and the initial ones do not depend on Wolfgang's patch, as I hardcoded the offset.

On Fri, Dec 14, 2018 at 08:09:18PM -0200, Fabio Estevam wrote:
Hi Tom,
On Fri, Dec 14, 2018 at 8:06 PM Tom Rini trini@konsulko.com wrote:
I replied to Wolfgang's patch with the problem and I suggest that pico-7d simply stop using >> as it's not going to work once we Kconfig migrate anyhow.
pico-imx7d does not use >>.
I sent 5 different versions of this patch and the initial ones do not depend on Wolfgang's patch, as I hardcoded the offset.
OK, thanks.

Dear Stefano,
On Fri, Dec 14, 2018 at 02:39:04PM +0100, Stefano Babic wrote:
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)
NAK. You're failing the "no new defconfigs without MAINTAINERS" test in Travis: https://travis-ci.org/trini/u-boot/jobs/468004873#L975
Also, Wolfgang's patch is breaking guruplug,sheevaplug,linkit-smart-7688-ram,colibri_pxa270,linkit-smart-7688,gardena-smart-gateway-mt7688-ram,gardena-smart-gateway-mt7688 in my specific Debian chroot and I need to dig in more to provide something useful there other than "it fails". So please drop that for now too. Thanks!
As this PR is not accepted; Stefano, could you also pull following changes (relevant for vybrid):
http://patchwork.ozlabs.org/patch/1006731/ http://patchwork.ozlabs.org/patch/1006732/ http://patchwork.ozlabs.org/patch/1006733/
One of it: "nand: vybrid: Use calloc() instead of malloc() to allocate struct nfc" is a fix.
The other two just add support for Vybrid's NFC controller in device tree. There shall be no issues with this code for in-tree boards.
Thanks in advance and sorry for a late reply to this thread.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de

On 16/12/18 22:12, Lukasz Majewski wrote:
Dear Stefano,
On Fri, Dec 14, 2018 at 02:39:04PM +0100, Stefano Babic wrote:
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)
NAK. You're failing the "no new defconfigs without MAINTAINERS" test in Travis: https://travis-ci.org/trini/u-boot/jobs/468004873#L975
Also, Wolfgang's patch is breaking guruplug,sheevaplug,linkit-smart-7688-ram,colibri_pxa270,linkit-smart-7688,gardena-smart-gateway-mt7688-ram,gardena-smart-gateway-mt7688 in my specific Debian chroot and I need to dig in more to provide something useful there other than "it fails". So please drop that for now too. Thanks!
As this PR is not accepted; Stefano, could you also pull following changes (relevant for vybrid):
http://patchwork.ozlabs.org/patch/1006731/ http://patchwork.ozlabs.org/patch/1006732/ http://patchwork.ozlabs.org/patch/1006733/
One of it: "nand: vybrid: Use calloc() instead of malloc() to allocate struct nfc" is a fix.
The other two just add support for Vybrid's NFC controller in device tree. There shall be no issues with this code for in-tree boards.
Thanks in advance and sorry for a late reply to this thread.
I have picked up the 3 patches, my build is running..
Best regards, Stefano
participants (4)
-
Fabio Estevam
-
Lukasz Majewski
-
Stefano Babic
-
Tom Rini