Please pull NXP i.MX nxp-imx-20200422

Hi Stefano,
Please pull this version nxp-imx-20200422, with patches sent out to ML. Based on yours master branch.
CI: https://travis-ci.org/github/MrVan/u-boot/builds/678170004
Sorry for this late pull request.
------------------------------------------------------- SCFW API update, including seco/snvs SNVS support for i.MX8 A53 clk fixes for i.MX8MQ Speed grade updating i.MX8M variants support misc clk update acquire ATF build info -------------------------------------------------------
Thanks, Peng.
The following changes since commit d1bbf833aa7b45c00a42227b9563134643e44237:
Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-04-20 08:45:27 -0400)
are available in the Git repository at:
https://github.com/MrVan/u-boot.git tags/nxp-imx-20200422
for you to fetch changes up to 6734e085ed3b733d37a00b22b1e9bd2ec299cc45:
imx8: Configure SNVS (2020-04-22 21:50:43 +0800)
---------------------------------------------------------------- Breno Lima (2): doc: ahab: Add encrypted boot documentation for i.MX8/8x devices imx8: scu api: Add support for SECO manufacturing protection APIs
Franck LENORMAND (1): imx8: Configure SNVS
Peng Fan (13): imx: fix cpu_type helper imx8mn: Update speed grade imx: cpu: support speed grade for i.MX8MP imx: imx8m: add i.MX8MQ Dual and QuadLite support imx: imx8m: add i.MX8MN variants support imx: update is_imx6ull to include i.MX6ULZ imx8: move SIP macro to common header imx8m: acquire ATF commit hash imx8m: update clock root and fix core_sel imx8mq: Set ARM core clock directly from ARM PLL imx8: parser: fix 'end address' parameter of rm_find_memreg imx8: ahab: fix 'end address' parameter of rm_find_memreg imx8: parser: fix some bad debug message formating
Seb Fagard (1): imx8: ahab: fix some bad debug message formating
Ye Li (7): imx8mm: Update CPU speed grading imx8mq: Enable eMMC HS400 and SD UHS mode on EVK imx8m: Dump DRAM PLL rate by clocks command imx8: Change to use new SECO API commands imx8mm: clock: fix fracpll decode issue imx8m: Enable WDOG_B for timeout imx8: Update SCFW API to version 1.5
arch/arm/include/asm/arch-imx/cpu.h | 7 + arch/arm/include/asm/arch-imx8/sci/rpc.h | 86 +++++++++--- arch/arm/include/asm/arch-imx8/sci/sci.h | 10 ++ arch/arm/include/asm/arch-imx8/sci/svc/pad/api.h | 3 + arch/arm/include/asm/arch-imx8/sci/types.h | 6 + arch/arm/include/asm/arch-imx8/snvs_security_sc.h | 11 ++ arch/arm/include/asm/arch-imx8m/clock_imx8mm.h | 5 +- arch/arm/include/asm/arch-imx8m/clock_imx8mq.h | 3 +- arch/arm/include/asm/mach-imx/sys_proto.h | 17 ++- arch/arm/mach-imx/cpu.c | 38 ++++- arch/arm/mach-imx/imx8/Kconfig | 13 ++ arch/arm/mach-imx/imx8/Makefile | 1 + arch/arm/mach-imx/imx8/ahab.c | 15 +- arch/arm/mach-imx/imx8/misc.c | 8 +- arch/arm/mach-imx/imx8/parse-container.c | 18 +-- arch/arm/mach-imx/imx8/snvs_security_sc.c | 923 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/mach-imx/imx8m/clock_imx8mm.c | 24 ++-- arch/arm/mach-imx/imx8m/clock_imx8mq.c | 57 +++++--- arch/arm/mach-imx/imx8m/clock_slice.c | 824 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- arch/arm/mach-imx/imx8m/soc.c | 73 ++++++++-- board/freescale/imx8qxp_mek/imx8qxp_mek.c | 10 ++ doc/imx/ahab/csf_examples/csf_enc_boot_image.txt | 27 ++++ doc/imx/ahab/guides/mx8_mx8x_encrypted_boot.txt | 293 +++++++++++++++++++++++++++++++++++++++ drivers/misc/imx8/scu_api.c | 194 ++++++++++++++++++++++++++ include/imx_sip.h | 5 +- 25 files changed, 2553 insertions(+), 118 deletions(-) create mode 100644 arch/arm/include/asm/arch-imx8/snvs_security_sc.h create mode 100644 arch/arm/mach-imx/imx8/snvs_security_sc.c create mode 100644 doc/imx/ahab/csf_examples/csf_enc_boot_image.txt create mode 100644 doc/imx/ahab/guides/mx8_mx8x_encrypted_boot.txt

Hi Peng,
On Wed, Apr 22, 2020 at 10:54 AM Peng Fan peng.fan@nxp.com wrote:
Hi Stefano,
Please pull this version nxp-imx-20200422, with patches sent out to ML. Based on yours master branch.
These 24 patches have just been posted to the list.
Please allow time for people to review it and only send the pull request after review has been done.

Subject: Re: Please pull NXP i.MX nxp-imx-20200422
Hi Peng,
On Wed, Apr 22, 2020 at 10:54 AM Peng Fan peng.fan@nxp.com wrote:
Hi Stefano,
Please pull this version nxp-imx-20200422, with patches sent out to ML. Based on yours master branch.
These 24 patches have just been posted to the list.
Please allow time for people to review it and only send the pull request after review has been done
Code in downstream tree has been reviewed. Ok, let's wait and see comments from community.
Thanks, Peng.

Hi Peng,
On Wed, Apr 22, 2020 at 10:54 AM Peng Fan peng.fan@nxp.com wrote:
Hi Stefano,
Please pull this version nxp-imx-20200422, with patches sent out to ML. Based on yours master branch.
Series looks good: Reviewed-by: Fabio Estevam festevam@gmail.com
Just some comments:
- Please try sending the patches more often and in small batches as it is easier to review rather then a 24 patches series. - The speed grading logic is becoming too complicated and difficult to scale. Please improve it in a separate patch if you have a chance.
Thanks

Subject: Re: Please pull NXP i.MX nxp-imx-20200422
Hi Peng,
On Wed, Apr 22, 2020 at 10:54 AM Peng Fan peng.fan@nxp.com wrote:
Hi Stefano,
Please pull this version nxp-imx-20200422, with patches sent out to ML. Based on yours master branch.
Series looks good: Reviewed-by: Fabio Estevam festevam@gmail.com
Thanks for the review.
Just some comments:
- Please try sending the patches more often and in small batches as it is easier
to review rather then a 24 patches series.
ok. I was a bit busy in the past days, not that active. will keep small patchset in future.
- The speed grading logic is becoming too complicated and difficult to scale.
Please improve it in a separate patch if you have a chance.
ok. I'll switch to use is_imx6ulx to replace is_imx6ull. There will be a conflict with Marek's fec clock part, I'll resend the patchset based on Marek's patch.
Thanks again.
Peng.
Thanks
participants (2)
-
Fabio Estevam
-
Peng Fan