Skip to contentSkip to conversation

configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

PATCH New [email protected] 1 participant 1 message Jul 25, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v6 5/7 configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

Quoted 9 lines

The macro CONFIG_SYS_UBOOT_BASE is used by SPL loaders "NOR" and "XIP" to determine the base address of u-boot.
For "NOR" on i.MX8MM it is the base address of QSPI0 plus the offset of the flattened image tree blob.
Although QSPI0_AMBA_BASE is used to define CONFIG_SYS_UBOOT_BASE in multiple board header files for i.MX8MM, it is not specified. Specify offset of flattened image tree blob (needs to be set to same value as specified in 'binman' node), base address of QSPI0 and size of FlexSPI configuration block.

Quoted 5 lines

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================