summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2024-04-04imx: spl: fix u-boot fit loadingtoradex_imx_lf_v2022.04Emanuele Ghidoli
Override weak spl_load_simple_fix_load function only when necessary to manage signature verification via High Assurance Boot (HAB). In particular if spl_load_simple_fix_load function is overridden also the board_spl_fit_size_align must be overridden to provide the correct buffer size. This ensures correct sizing of the upload buffer and prevents buffer overflows which may lead to memory corruption and system reset. Since an IVT header is checked using just a byte magic number, and the memory beyond the buffer size is random, this fix addresses an issue where the presence of an apparently valid IVT header beyond the buffer size could result in unintended memcpy operations to random memory addresses, often leading to system reset. Upstream-Status: Inappropriate [downstream specific] Upstream U-Boot fixed this differently in combination with binman to create the final bootcontainer. Commit 6039e0edc854 ("imx: hab: Simplify the mechanism") Fixes: 9de354485800 ("imx: spl: implement spl_load_simple_fit_fix_load") Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
2024-02-19Merge tag 'lf-5.15.71-2.2.2' into toradex_imx_lf_v2022.04Max Krummenacher
This pulls in the following commits: git log --oneline --no-merges ^HEAD lf-5.15.71-2.2.2 14b6c8f3e3b MA-20886 imx8ulp: Boot from recovery mode when pressing key 62ad7799b6c LF-7602: Device tree fixup based on compatible string b35420da607 crypto: fsl_hash: Remove unnecessary alignment check in caam_hash() 918dbf78bbb MA-20872 Revert "MA-18775 system will hang about 3s when boot up kernel" ed2c3cbd6ac MA-20814 add fastboot command to erase u-boot env a6762e28bf0 LF-6627: nand drvier fixups in sdboot on ls1043ardb-pd d23cfa09767 LFU-426: qspihdr: Coverity Issue: unchecked return value 413b08f841f MLK-25850: imx8dxl_ddr3l_evk: change the default fdt file name e91a047f54f LF-7382: fastboot: improve emmc write speed 205680f9f4b LFU-428 imx8ulp: Add warning for CAAM non-secure state failure f405551dcc1 LF-7369-2 clk: imx93: update LPCG control API 676831be672 LF-7369-1 clk: imx: implement a clock gate driver for i.MX93 94c5bb2eb83 MA-20507-7 trusty: fix dereference null return value 6933487b4df LFU-427 imx93: Print ELE FW version 15b1ebb00cc LFU-393 imx93: Add reset cause print f3b75e3317d LF-7332 imx8/ahab: sha256: enable image verification using ARMv8 crypto extention 330e2634143 LFU-423: usb: cdns3: gadget: Avoid using usb_ss after null check 58ba744cbad MLK-26034 imx6: Disable LCDIF clock before jumping to kernel ae396d343a3 LF-6627: nand drvier fixups in nandboot on ls1043ardb-pd 0a99627b60e LFU-422-2 imx8ulp_evk: Enable the GD25LX256E support c6c06de038f LFU-422-1 mtd: spi-nor: Add GigaDevice GD25LX256E NOR flash 032fab5e127 LFU-421 imx93_evk: Add imx93 low drive mode support on 11x11 EVK d9f477625d3 LF-7332 armv8: SHA-256 using ARMv8 Crypto Extensions 53689e4f7db MA-20667 set metadata partition of type f2fs f824cd01955 LFU-415 net: fec_mxc: Skip recv packet process when fec is halted 4e7c44e1f33 LFU-419 arm: dts: imx8mp: fix flexspi nand reg 957bdd9c925 LFU-418 imx8ulp: upower_hal: make code cleaner 361b23b98ed Revert "MLK-25478-1 efi: add Platform-Reset-Attack variables" e1ed0611b5e Revert "MLK-25478-2 efi: clean memory and reset MemoryOverwriteRequestControl" 4998fef38a5 Revert "MLK-25478-3 workaround: disable verify time of signer and signee." 320096439b6 MA-20738 imx8ulp: bumps CONFIG_LMB_MAX_REGIONS c244bdfd76c LFU-417-2 imx93_evk/qsb: Enable DDR inline ECC feature 026521c7d65 LFU-417-1 ddr: imx: imx9: Add DDR inline ECC support a555a21be69 LFU-413 imx8ulp_evk: Remove CONFIG_BOOTDELAY=0 from ND defconfig aaead5a2b8d LFU-416 imx: cmd_dek: Fix build warning in blob_encap_dek 933a3b25fe3 LF-7234 enable CONFIG_CMD_CRC32 and CONFIG_CRC32_VERIFY 97fc905e7f7 LFU-409: imx8dxl: fix the i.MX8DXL ddr3l NAND DQS iomux setting aa4ebb66199 LFU-414 imx8ulp: clock: Update clocks to meet max rate restrictions 63d0579f397 LFU-410 imx: ele_ahab: Add ahab_sec_fuse_prog command 266dddae454 LFU-412 configs: imx93_evk: shrink mem= for jailhouse 5703d3ae37e LFU-411 imx8ulp: Always enable MIPI_DSI power switch 32965eb52f7 LFU-392 imx8ulp: upower: replace magic number with macro beb5e5e3303 MA-20677 imx8ulp: android: enable CONFIG_AHAB_BOOT by default bb45dd592db LFU-408 imx93evk: config the pmic standby voltage for buck1 25e38cb4762 LFU-407-02 ddr: imx9: Change the saved ddr data base to 0x2051c000 a8fef10ab92 LFU-407-01 configs: imx93: Update spl stack & bss base address 8731024fe7e LFU-406 mx6ul/mx6ulz: Fix build break caused by RNG patch a95afe08769 LF-7238 imx9: soc: Remove OPTEE memory from DRAM bank and MMU 19c3fdebf8d LFU-403-4 imx93_evk/qsb: Enable TMU sensor driver e1703ec06a4 LFU-403-3 iMX93: soc: print current CPU temperature 050a94e6365 LFU-403-2 DTS: imx93: Update TMU node to sync with kernel 91e711a565c LFU-403-1 thermal: imx_tmu: Update TMU driver to support iMX93 78749666dd3 LFU-402-3 imx93_evk/qsb: Use API to set max ARM clock 401b9824f92 LFU-402-2 iMX93: clock: Add API to set max ARM core clock e4722baa5af LFU-402-1 iMX93: soc: Get market segment and speed grading 432a4af9608 LFU-400 imx8ulp: clock: Clear dividers in PLL3DIV_PFD registers 53f06207782 LFU-399 imx8ulp: Reconfigure MRC3 for SRAM0 access 48a2221acc9 LFU-395 imx93: Add fused parts support d8760a74793 LFU-398-7 imx93_9x9_qsb: Enable Flexspi NOR support 1f500a59670 LFU-398-6 imx93_qsb: Enable M.2 VPCIe_3V3 and deassert SD3_nRST ba4f72198f5 LFU-398-5 DTS: imx93-9x9-qsb: Add flexspi NOR nodes and pinctrl d9f563336f7 LFU-398-4 imx93_11x11_evk: Enable Flexspi NOR support c56f2132d53 LFU-398-3 imx93_evk: Enable M.2 VPCIe_3V3 and deassert SD3_nRST b6cbe6b1416 LFU-398-2 DTS: imx93-11x11-evk: Enable and update flexspi NOR c45c4fb791b LFU-398-1 DTS: imx93: Update flexspi node in DTSi fab973fe1df LFU-397 imx8m: clock: not configure reserved SRC register 4881ba99fa4 LFU-396-7 imx93_9x9_qsp_defconfig: support splash screen 60e0e629f99 LFU-396-6 arm: dts: add imx93 9x9 ontat panel dts fffc330cf1a LFU-396-5 imx9: clock: add 300MHz fracn pll table ef6a3d9cc38 LFU-396-4 video: nxp: imx: add Add i.MX93 parallel display format encoder driver 5f414738a5f LFU-396-3 video: nxp: imx_lcdifv3: support VSYNC/HSYNC active low 21eb66fe1f8 LFU-396-2 video: nxp: imx: dsi: force DISPLAY_FLAGS_HSYNC_HIGH & DISPLAY_FLAGS_VSYNC_HIGH 88132ed0b4e LFU-396-1 video: simple_panel: make backlight optional 65287dc074d LF-7055: video: imx: Add set_parent calls to LVDS initialization 167f65006fb MLK-26021 imx93: add 9x9 qsb lpddr4 board 0a6297a290e MA-20677 imx8ulp: android: enable CONFIG_AHAB_BOOT by default 8789f3ca3e4 PLATSEC-1781-2 MX6: Device tree fix-up 60555c4a445 PLATSEC-1781-1 mx6ull:Add config CONFIG_OF_SYSTEM_SETUP 48b1d6e34fd MA-20149 set fs type of android partitions 9710cc4840e LFOPTEE-177 imx93evk: enable cmd_dek command f0721d67f03 LFOPTEE-177 imx8ulp: enable cmd_dek command bf07f5166bf LFOPTEE-177 imx: cmd_dek: add ELE DEK Blob generation support 6de56c3f629 LFOPTEE-177 s400_api: add DEK Blob generation Conflicts: drivers/crypto/fsl/fsl_hash.c commit 41b2182af73 ("crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()") Both NXP and TXD branch did cherry-picking that commit, but NXP additionally removed a debug print (not present in master) while the TDX branch did not. Resolved by doing it the NXP way. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-12-22LFU-573-2 imx8m: hab: Verify optional FIT FDT signatureYe Li
One limitation of verifying FIT hash approach is SPL must bind with FIT, because FIT FDT hash is inserted into SPL image and authenticated by ROM. For use cases need to upgrade the FIT individually, for example, android's dual bootloader, this patch introduces an optional approach. This optional approach adds FIT FDT signature (a new pair of IVT and CSF for FIT FDT structure) after original FIT image IVT and CSF. imx-mkimage always generates the new IVT and reserves the space for the new CSF. Users just need an additional signing step. This approach is default not enabled in SPL except Android build. To enable it, set CONFIG_IMX_SPL_FIT_FDT_SIGNATURE=y with CONFIG_IMX_HAB=y in u-boot defconfig Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Upstream-Status: Inappropriate [downstream specific] Upstream U-Boot fixed this differently in combination with binman to create the final bootcontainer. Commit 6039e0edc854 ("imx: hab: Simplify the mechanism") Backport from NXP downstream [07b688228c5817e4d76cdc5484fd50f92e9cf1f0] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-12-22LFU-573-1 imx8m: hab: Verify hash of FIT FDT strucureYe Li
By default, we insert the hash of FIT FDT into SPL image (append it after DDR FW) by imx-mkimage. When secure boot, this hash is authenticated with SPL image by ROM. So the hash is trusted. Before SPL starts parsing FIT image, SPL should verify the FIT FDT structure with the hash to ensure the FIT FDT structure is trusted. This patch could resolve the problem that SPL FIT authentication is later than loading the FIT image. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Upstream-Status: Inappropriate [downstream specific] Upstream U-Boot fixed this differently in combination with binman to create the final bootcontainer. Commit 6039e0edc854 ("imx: hab: Simplify the mechanism") Backport from NXP downstream [0746cfd931de8f7591d263ff60dd806ffe23c093] Conflicts: arch/arm/mach-imx/spl.c (additional includes in theirs, boot/lz4.h, image.h, image.h now needed) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-12-20colibri-imx8x: configure usb hub to bypass modeAndrejs Cainikovs
This change configures Toradex Colibri iMX8X SoM USB hub to bypass mode, and brings out of the reset state. Upstream-Status: Submitted [https://lore.kernel.org/all/20231220103811.228515-4-andrejs.cainikovs@gmail.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-12-20colibri-imx8x: remove -u-boot.dtsi includeAndrejs Cainikovs
This file is included automatically since quite some time now. From documentation: U-Boot automatically looks for and includes a file with updates to the standard devicetree for your board, searching for them in the same directory as the main file, in this order: <orig_filename>-u-boot.dtsi <CONFIG_SYS_SOC>-u-boot.dtsi <CONFIG_SYS_CPU>-u-boot.dtsi <CONFIG_SYS_VENDOR>-u-boot.dtsi u-boot.dtsi Upstream-Status: Submitted [https://lore.kernel.org/all/20231220103811.228515-3-andrejs.cainikovs@gmail.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-12-20apalis-imx8: remove -u-boot.dtsi includeAndrejs Cainikovs
This file is included automatically since quite some time now. From documentation: U-Boot automatically looks for and includes a file with updates to the standard devicetree for your board, searching for them in the same directory as the main file, in this order: <orig_filename>-u-boot.dtsi <CONFIG_SYS_SOC>-u-boot.dtsi <CONFIG_SYS_CPU>-u-boot.dtsi <CONFIG_SYS_VENDOR>-u-boot.dtsi u-boot.dtsi Upstream-Status: Submitted [https://lore.kernel.org/all/20231220103811.228515-2-andrejs.cainikovs@gmail.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-10-20apalis-imx8: initialize usb gadget in host modeAndrejs Cainikovs
This will prevent error on usb start: starting USB... Bus usb@5b0d0000: Port not available. Upstream-Status: Inappropriate [other] No iMX8 USB support present in mainline. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-10-20apalis-imx8: add USBH_EN gpio hogAndrejs Cainikovs
USB host interface is not working on some Apalis Toradex carrier boards with Apalis iMX8 SoM. This is due to USBH_EN pin, which powers USB peripherals, having a strong pull-down on some boards, and a weak pull-down on the others. This USBH_EN pin is left unconfigured, which means it is in its default state at cold boot: input with a strong pull-up. As a result, carrier boards with a weak pull-down have this signal high enough to trigger power delivery to USB peripherals, and opposite - boards with strong pull-down on USBH_EN have this signal below the threshold needed to trigger USB power delivery. This change configures the USBH_EN pin as gpio hog, fixing this issue for all Apalis carrier boards regardless of pull-down resistor value. Also, update apalis-imx8_defconfig via savedefconfig. Upstream-Status: Submitted [https://lore.kernel.org/all/20231020152516.57338-1-andrejs.cainikovs@gmail.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-10-11imx8: Enable env is nowhere for apalis and colibriJoao Paulo Goncalves
The downstream code will not build when the environment on MMC is not defined. This change makes it possible to use ENV_IS_NOWHERE for recovery mode without the need to enable the environment in MMC downstream. This is the same correction of commit 8bb483b3cb3d ("toradex: env: Enable env is nowhere for imx8 modules") that solve it for imx8mm/mp. The difference is that imx8 modules define the function on another file. Upstream-Status: Inappropriate [other] This change is specific to the downstream code, as the solution in upstream differs. Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-10-06toradex: env: Enable env is nowhere for imx8 modulesJoao Paulo Goncalves
The downstream code will not build when the environment on MMC is not defined. Additionally, when the environment on EMMC is defined simultaneously with ENV_IS_NOWHERE, it takes priority. This change makes it possible to use ENV_IS_NOWHERE for recovery mode without the need to enable the environment in MMC downstream. Upstream-Status: Inappropriate [other] This change is specific to the downstream code, as the solution in upstream differs. Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-09-12imx8mn/8mp: Allow booting via USBFabio Estevam
When trying to boot via USB on i.MX8MN it is necessary to specify the U-Boot environment location, otherwise the boot process simply hangs. Specify the environment location when booting from USB. Tested on a imx8mn-evk. Upstream-Status: Backport [d175982c207bb2ace592d7985cd3f05ab99759d9] Suggested-by: Michael Nazzareno Trimarchi <michael@amarulasolutions.com> Signed-off-by: Fabio Estevam <festevam@denx.de> Tested-by: Tim Harvey <tharvey@gateworks.com>
2023-09-12toradex: imx8mp: Enable serial number for fastbootJoao Paulo Goncalves
Fix build error when enabling fastboot support. FSL fastboot use serial number value when CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG is enabled. Upstream-Status: Inappropriate [other] This is a downstream only fix. In upstream fsl fastboot is not implemented. Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-09-04toradex: verdin-imx8mm: Enable usb sdp supportJoao Paulo Goncalves
Add necessary configuration options and device tree changes for usb sdp support. USB driver model disabled for SPL to reduce size as it is not needed for now for usb to works. Upstream-Status: Submitted [https://lore.kernel.org/all/20230822221726.8355-1-marcel@ziswiler.com] The changes are almost a backport from commit 1c2567a3f129 ("verdin-imx8mm: enable usb sdp spl recovery support") of u-boot-toradex next that was already submmited to upstream. The differences to the patch are device tree syntax and getting only the necessary configurations. Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-09-04toradex: usb: imx: Revert some donwstream changesJoao Paulo Goncalves
Revert donwstream changes for correct USB Gadget VID and PID handling. Upstream-Status: Inappropriate [other] This was need because of a donwstream change on commit e330a88a8a76 ("MLK-25803-2: Update VID/PID"). On upstream it is already corrected by commit a95aee6af70d ("usb: gadget: Make g_dnl USB settings common"). Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-07-11arm64: dts: verdin-imx8mp: add ctrl_sleep_moci# hogAndrejs Cainikovs
Drive CTRL_SLEEP_MOCI# high at boot (SPL) using a GPIO hog, this signal may be used to control some power-rails on the carrier board, therefore it should be set to high when the module is booting. To do this as early as possible is generally a good idea and the issue was noticed on the Yavia carrier board where it is needed to power the I2C EEPROM on the carrier board. Upstream-Status: Submitted [https://lore.kernel.org/all/20230711090918.523772-6-marcel@ziswiler.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-07-11arm64: dts: verdin-imx8mp: move ctrl_sleep_moci gpioAndrejs Cainikovs
Move ctrl_sleep_moci pin to gpio bank &gpio4, where it belongs. Fixes: 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support") Upstream-Status: Inappropriate [other] This is fixed in upstream via device tree synchronisation patch: https://lore.kernel.org/all/20230711090918.523772-2-marcel@ziswiler.com/ Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-07-11arm64: dts: verdin-imx8mm: add ctrl_sleep_moci# hogAndrejs Cainikovs
Drive CTRL_SLEEP_MOCI# high at boot (SPL) using a GPIO hog, this signal may be used to control some power-rails on the carrier board, therefore it should be set to high when the module is booting. To do this as early as possible is generally a good idea and the issue was noticed on the Yavia carrier board where it is needed to power the I2C EEPROM on the carrier board. Upstream-Status: Submitted [https://lore.kernel.org/all/20230711090918.523772-4-marcel@ziswiler.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-04-03colibri-imx8x: add usb supportAndrejs Cainikovs
Add USB support. Upstream-Status: Pending As of now, no iMX8 USB support present in mainline. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-01-19apalix-imx8: add mmc card pinctrl's for different speedsAndrejs Cainikovs
Add pinctrl's for high speed MMCs. Upstream-Status: Submitted [https://lore.kernel.org/u-boot/20230113171751.331268-23-francesco@dolcini.it/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-01-19apalix-imx8: downstream usb supportAndrejs Cainikovs
Add USB support. Upstream-Status: Inappropriate [other] No iMX8 USB support present in mainline. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2022-12-23apalix-imx8: add emmc pinctrl's for different speedsPhilippe Schenker
Upstream-Status: Inappropriate [other] Downstream requires emmc pinctrl's for high speeds, while upstream doesn't. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2022-12-23apalis-imx8: update spdx license identifier stringMarcel Ziswiler
Update SPDX license identifier string. While at it also update copyright period. Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-11-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-11-15Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: MA-20886 imx8ulp: Boot from recovery mode when pressing key
2022-11-15MA-20886 imx8ulp: Boot from recovery mode when pressing keyMaximus Sun
Make system enter recovery mode when user pressing "sw2" when i.MX 8ULP EVK and i.MX 8ULP EVK 9×9 board are powered on. Signed-off-by: Maximus Sun <maximus.sun@nxp.com> Change-Id: Ifc13c37fff4f6c7352161b6ad7d6014aeeafcc6d
2022-11-14Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LF-7602: Device tree fixup based on compatible string
2022-11-11LF-7602: Device tree fixup based on compatible stringKshitiz Varshney
Updated otp_crypto_key & otp_unique_key device tree fix up. Earlier, device tree fix up was based on hardcoded address, but now it's based on compatible string of crypto node:- "fsl,imx28-dcp" Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com>
2022-11-08Merge remote-tracking branch 'gh-nxp/lf_v2022.04' into ↵Philippe Schenker
update-to-5.15.52_2.1.0__toradex_imx_lf_v2022.04
2022-11-07Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: MA-20872 Revert "MA-18775 system will hang about 3s when boot up kernel"
2022-11-07MA-20872 Revert "MA-18775 system will hang about 3s when boot up kernel"Zhipeng Wang
The problem of the system hanging for about 3 seconds when booting the kernel is gone, so enable the 8mp early console. This reverts commit 8f897bce4cce75e7599a8ea952271eab37b1dc51. Change-Id: I5a4c32f22fc93393610f3ae99fb3ca8e0643990a
2022-10-26Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-426: qspihdr: Coverity Issue: unchecked return value MLK-25850: imx8dxl_ddr3l_evk: change the default fdt file name
2022-10-26LFU-426: qspihdr: Coverity Issue: unchecked return valueHan Xu
fix the unchecked return value(CWE-252) issue in qspihdr tool. Signed-off-by: Han Xu <han.xu@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com>
2022-10-19Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LF-7332 imx8/ahab: sha256: enable image verification using ARMv8 crypto extention LF-7332 armv8: SHA-256 using ARMv8 Crypto Extensions
2022-10-19Pull request #65: enable image verification using ARMv8 crypto extentionGaurav Jain
Merge in LFAC/uboot-nxp from ~NXF60555/uboot-nxp-gaurav:imx_v2022.04 to imx_v2022.04 * commit 'f3b75e3317d17180009af5c866b9a85a855a79be': LF-7332 imx8/ahab: sha256: enable image verification using ARMv8 crypto extention LF-7332 armv8: SHA-256 using ARMv8 Crypto Extensions
2022-10-19Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-427 imx93: Print ELE FW version LFU-393 imx93: Add reset cause print
2022-10-19LFU-427 imx93: Print ELE FW versionYe Li
Print ELE FW version in uboot log for debug purpose Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2022-10-19LFU-393 imx93: Add reset cause printYe Li
Add reset cause print to u-boot log on i.MX93. Since the SRC GENERAL registers are read only for non-secure mode. We have to clear SRSR in secure mode (SPL) and pass the value to non-secure mode via GPR1 register. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2022-10-18LF-7332 imx8/ahab: sha256: enable image verification using ARMv8 crypto ↵Gaurav Jain
extention add support for SHA-256 secure hash algorithm using the ARM v8 SHA-256 instructions for verifying image hash. Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
2022-10-14Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-421 imx93_evk: Add imx93 low drive mode support on 11x11 EVK
2022-10-14LFU-421 imx93_evk: Add imx93 low drive mode support on 11x11 EVKYe Li
Add a static u-boot config for i.MX93 low drive mode support. When low drive mode is enabled, VDD_SOC is set to 0.75V. Bus clocks, A55 core clock (900Mhz), DDR clock (1866MTS), and some peripherals clocks (USDHC/FLEXSPI/PDM/DISP_PIX/CAM_PIX) must decrease to meet max frequencies in low drive mode. The patch also updates kernel's DTB for the media AXI clock and USDHC root clocks. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2022-10-13LF-7332 armv8: SHA-256 using ARMv8 Crypto ExtensionsGaurav Jain
added support for SHA-256 hash algorithms using the ARM v8 SHA-256 instructions. Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
2022-10-11LFU-419 arm: dts: imx8mp: fix flexspi nand regPeng Fan
The address/reg should be 1 cell, so fix it. Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
2022-10-11Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-419 arm: dts: imx8mp: fix flexspi nand reg
2022-10-11LFU-418 imx8ulp: upower_hal: make code cleanerPeng Fan
Align format Check err_code Add more log Detail the memory magic number Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
2022-10-11Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-418 imx8ulp: upower_hal: make code cleaner Revert "MLK-25478-1 efi: add Platform-Reset-Attack variables" Revert "MLK-25478-2 efi: clean memory and reset MemoryOverwriteRequestControl" Revert "MLK-25478-3 workaround: disable verify time of signer and signee."
2022-10-11Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-417-2 imx93_evk/qsb: Enable DDR inline ECC feature LFU-417-1 ddr: imx: imx9: Add DDR inline ECC support
2022-10-11LFU-417-1 ddr: imx: imx9: Add DDR inline ECC supportYe Li
Support DDR inline ECC feature for i.MX9 DDR driver. It uses top 1/8 DDR size for ECC data. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2022-10-11Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-413 imx8ulp_evk: Remove CONFIG_BOOTDELAY=0 from ND defconfig LFU-416 imx: cmd_dek: Fix build warning in blob_encap_dek
2022-10-11LFU-416 imx: cmd_dek: Fix build warning in blob_encap_dekYe Li
Fix below build warning introduced by commit bf07f51 (LFOPTEE-177 imx: cmd_dek: add ELE DEK Blob generation support) In file included from ./arch/arm/include/asm/io.h:341, from include/fsl_sec.h:13, from arch/arm/mach-imx/cmd_dek.c:16: include/cpu_func.h:68:39: note: expected ‘long unsigned int’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 68 | void flush_dcache_range(unsigned long start, unsigned long stop); Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2022-10-10Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LF-7234 enable CONFIG_CMD_CRC32 and CONFIG_CRC32_VERIFY LFU-409: imx8dxl: fix the i.MX8DXL ddr3l NAND DQS iomux setting LFU-414 imx8ulp: clock: Update clocks to meet max rate restrictions