diff options
| author | Marek Vasut <[email protected]> | 2022-03-09 17:09:45 +0100 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2022-04-12 21:08:23 +0200 |
| commit | d072fdde538ac20ec1958bd0b0496d27d338f56c (patch) | |
| tree | 25ab125c502fe3f6115e82874188c11765676549 /include/linux/stringify.h | |
| parent | 1b4f979492afa0a805ca7782c6d323fa61b27b0e (diff) | |
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 <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
