[PATCH] arm64: versal: Add missing BOOT_MODE_POR_X macros

Michal Simek michal.simek at amd.com
Tue Oct 25 10:28:56 CEST 2022



On 10/12/22 10:47, Michal Simek wrote:
> The commit bf8dae5fcf40 ("spi: cadence-qspi: reset qspi flash for versal
> platform") added reference to BOOT_MODE_POR_X but forget to add them.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/mach-versal/include/mach/hardware.h | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/mach-versal/include/mach/hardware.h b/arch/arm/mach-versal/include/mach/hardware.h
> index 000af974e867..aa41155e9dc7 100644
> --- a/arch/arm/mach-versal/include/mach/hardware.h
> +++ b/arch/arm/mach-versal/include/mach/hardware.h
> @@ -97,3 +97,5 @@ struct crp_regs {
>   #define MIO_PIN_12	0xF1060030
>   #define BANK0_OUTPUT	0xF1020040
>   #define BANK0_TRI	0xF1060200
> +#define BOOT_MODE_POR_0	0xF1020204
> +#define BOOT_MODE_POR_1	0xF1020208

Applied.
M


More information about the U-Boot mailing list