[PATCH] config: imx: Define CFG_SYS_UBOOT_BASE for Phytec's imx8mm SoM QSPI boot

Fabio Estevam festevam at gmail.com
Thu Aug 15 14:23:18 CEST 2024


Hi Lukasz,

On Thu, Aug 15, 2024 at 5:10 AM Lukasz Majewski <lukma at denx.de> wrote:

> +#define UBOOT_ITB_OFFSET                       0x57C00
> +#define FSPI_CONF_BLOCK_SIZE           0x1000
> +#define UBOOT_ITB_OFFSET_FSPI  \
> +       (UBOOT_ITB_OFFSET + FSPI_CONF_BLOCK_SIZE)

Putting it in a single line helps readability.

> +#ifdef CONFIG_FSPI_CONF_HEADER
> +#define CFG_SYS_UBOOT_BASE  \
> +       (QSPI0_AMBA_BASE + UBOOT_ITB_OFFSET_FSPI)

Same here.


More information about the U-Boot mailing list