commit | 8236c05ddb2a86080a1748c333764dd50013774b | [log] [tgz] |
---|---|---|
author | Tim Harvey <tharvey@gateworks.com> | Tue May 02 17:05:53 2023 -0700 |
committer | Stefano Babic <sbabic@denx.de> | Tue Jul 11 14:40:03 2023 +0200 |
tree | 8f274edfbca64417456d5899e2e74f6e3703c9bc | |
parent | c226f84256e6c8c917f253a98ca444439bf605cf [diff] |
board: gateworks: venice: dynamically determine U-Boot raw sector CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR needs to adjust for IMX8MN and IMX8MP when booting from an eMMC boot partition due to IMX BOOTROM v2 using an SPL offset of 0 for boot partitions and 32K for the user partition. In order to allow the same firmware to run on both user and boot hardware partitions adjust raw_sect dynamically at runtime. Signed-off-by: Tim Harvey <tharvey@gateworks.com>