u-boot-brain/arch
Sébastien Szymanski 1f63ee6566 imx: rom api: fix image offset computation
When not booting from FlexSPI, the offset computation is:

offset = image_offset + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512 - 0x8000;

When booting from SD card or eMMC user partition, image_offset is
0x8000. It is useless to add and remove 0x8000.
When booting from other device, image_offset is 0 so this computation is wrong.

Simplfy this computation to work on all booting devices.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
2020-06-08 10:42:14 +02:00
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm imx: rom api: fix image offset computation 2020-06-08 10:42:14 +02:00
m68k common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
microblaze common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mips common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nds32 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
nios2 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
powerpc mpc83xx, abb: remove suvd3 board 2020-05-19 14:01:47 -04:00
riscv riscv: sbi: Move sbi_probe_extension() out of CONFIG_SBI_V01 2020-06-04 09:44:21 +08:00
sandbox common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sh sh: Enable ffunction-sections and fdata-sections 2020-05-20 13:20:25 +02:00
x86 x86: quark: acpi: Replace _ADR() by _UID() in description of PCI host bridge 2020-06-02 09:16:13 +08:00
xtensa common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
.gitignore
Kconfig sandbox: move compression option to Kconfig 2020-05-25 11:54:53 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00