u-boot/arch/arm/mach-imx/imx8m
Fedor Ross 71c2faeca7 ARM: imx: Use correct U-Boot offset in case of secondary boot from eMMC
In case of a secondary image boot from the user area of an eMMC device,
the correct offset must be calculated. The offset is fused in the fuse
IMG_CNTN_SET1_OFFSET of the i.MX8M Nano and Plus. The calculation of the
offset is described in the reference manual (IMX8MNRM Rev. 2, 07/2022
and IMX8MPRM Rev. 1, 06/2021):

The fuse IMG_CNTN_SET1_OFFSET (0x490[22:19]) is defined as follows:
* Secondary boot is disabled if fuse value is bigger than 10,
  n = fuse value bigger than 10.
* n == 0: Offset = 4MB
* n == 2: Offset = 1MB
* Others & n <= 10 : Offset = 1MB*2^n

Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
Signed-off-by: Marek Vasut <marex@denx.de>
2023-10-17 23:55:10 +02:00
..
clock_imx8mm.c imx: imx8m: clock: not configure reserved SRC register 2023-07-13 11:29:40 +02:00
clock_imx8mq.c arm: imx: imx8mq: add support to get values for more clocks 2022-02-05 13:38:38 +01:00
clock_slice.c imx8m: update clock root and fix core_sel 2020-05-01 13:46:21 +02:00
imximage-8mm-lpddr4.cfg imx: imx8mm-icore: migrate to use BINMAN 2022-07-26 11:29:02 +02:00
imximage-8mn-ddr4.cfg imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
imximage-8mn-lpddr4.cfg imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
imximage-8mp-lpddr4.cfg imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
imximage.cfg imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
Kconfig configs: imx8m: Prepare imx8m-venice boards for HAB support 2023-07-13 11:29:40 +02:00
lowlevel_init.S imx8m: lowlevel_init: tune alignment 2021-01-23 11:30:31 +01:00
Makefile arm: imx: imx8m: Add basic PSCI provider implementation 2023-01-31 15:46:40 +01:00
psci.c arm: imx: imx8m: Add basic PSCI provider implementation 2023-01-31 15:46:40 +01:00
soc.c ARM: imx: Use correct U-Boot offset in case of secondary boot from eMMC 2023-10-17 23:55:10 +02:00