u-boot/arch/arm/mach-imx
Marek Vasut d072fdde53 ARM: imx: romapi: Repair FlexSPI NOR boot offset
The FlexSPI NOR boot offset does not require any special handling,
the image_offset is correct in either case (0x1000 for FlexSPI NOR
and 0x8000 for SD/eMMC) and the offset of u-boot.itb from the start
of flash.bin is always 0x58000 on MX8MN/MX8MP, which matches the
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512 - 0x8000 in case
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300, which is always the
case on MX8MN/MX8MP.

The CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is really overloaded in
case of the MX8MN/MX8MP, but fixing that needs additional plumbing.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
2022-04-12 21:08:23 +02:00
..
imx8 crypto/fsl: i.MX8: Enable Job ring driver model. 2022-04-12 11:19:21 +02:00
imx8m ARM: dts: imx: Add support for Data Modul i.MX8M Mini eDM SBC 2022-04-12 19:10:44 +02:00
imx8ulp imx: imx8ulp_evk: Enable multiple env storage devices 2022-04-12 19:10:43 +02:00
imxrt Convert CONFIG_CONS_INDEX et al to Kconfig 2021-12-27 08:41:38 -05:00
mx3 arm: Remove mx31pdk board 2020-07-09 20:58:06 +05:30
mx5 usb: Enforce DM_USB migration for USB_HOST devices. 2021-07-18 21:05:31 -04:00
mx6 mx6: ddr: Wait before issuing the first MRS cmd 2022-04-12 19:10:43 +02:00
mx7 i.MX7: Enable Job ring driver model. 2022-04-12 11:18:34 +02:00
mx7ulp i.MX7ULP: Enable Job ring driver model. 2022-04-12 11:18:34 +02:00
mxs arm: Remove bg0900 board 2021-10-01 21:08:19 -04:00
cache.c imx: Enable ACTLR.SMP in SPL for i.MX6/7 2022-02-05 13:38:39 +01:00
cmd_bmode.c ARM: imx: Add support for reading out the primary/secondary bmode 2020-08-17 17:55:17 +02:00
cmd_dek.c crypto/fsl: i.MX8: Enable Job ring driver model. 2022-04-12 11:19:21 +02:00
cmd_hdmidet.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
cmd_mfgprot.c imx: cmd: use struct cmd_tbl 2021-08-09 14:46:51 +02:00
cmd_nandbcb.c cmd_nandbcb: Support secondary boot address of imx8mn 2022-02-05 13:38:39 +01:00
cpu.c imx: imx8mp: Add iMX8MP UltraLite Part cpu type 2022-04-12 19:10:43 +02:00
ddrmc-vf610-calibration.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ddrmc-vf610-calibration.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ddrmc-vf610.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
hab.c image: Drop IMAGE_ENABLE_FIT 2021-10-08 15:53:26 -04:00
i2c-mxv7.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
image-container.c mmc: Rename MMC_SUPPORT to MMC 2021-09-04 11:42:41 -04:00
imx_bootaux.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
init.c ARM: imx: Add support for switching primary/secondary boot mode to bmode 2020-08-17 17:54:01 +02:00
iomux-v3.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig mx7ulp: Allow to enable CONFIG_IMX_HAB 2021-10-07 16:53:50 +02:00
lowlevel.S imx: add lowlevel init for ARM64 2019-04-25 19:16:24 +02:00
mac.c arm: mach-imx: Update MAC fuse for i.MX8MP 2021-10-21 13:59:26 +02:00
Makefile imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
misc.c lmb: Remove imx board_lmb_reserve() 2021-09-23 14:15:32 -04:00
mmc_env.c Revert "imx: mmc_env: update runtime SD/MMC boot env device" 2019-10-08 16:36:37 +02:00
mmdc_size.c arm/mach-imx: Fix macros in mmdc_size.c 2021-07-10 16:53:34 +02:00
parse-container.c arm: imx: parse-container: add some missing end of line 2022-04-12 17:33:55 +02:00
priblob.c imx: cmd: use struct cmd_tbl 2021-08-09 14:46:51 +02:00
rdc-sema.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sata.c arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
speed.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl.c spl: mmc: extend spl_mmc_boot_mode() to take mmc argument 2022-04-04 23:24:17 +01:00
spl_imx_romapi.c ARM: imx: romapi: Repair FlexSPI NOR boot offset 2022-04-12 21:08:23 +02:00
spl_qspi.cfg imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
spl_sd.cfg imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
syscounter.c Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
video.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00