]> git.baikalelectronics.ru Git - uboot.git/commit
configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m
authorMamta Shukla <mamta.shukla@leica-geosystems.com>
Tue, 12 Jul 2022 14:36:21 +0000 (14:36 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jul 2022 13:35:35 +0000 (15:35 +0200)
commitc076a23040d6df92f58c06d4af81de0e304a59ef
treee86f02bc201e9511a592c79e2c703c269ec9966e
parent4d53ceb4ad1a31af741023ffd85da2c1b0c4a193
configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

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.

Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
Signed-off-by: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
Tested-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
arch/arm/include/asm/arch-imx8m/imx-regs.h
include/configs/imx8mm_evk.h