]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: cadence-qspi: Fix compilation error in mini u-boot flash reset
authorAshok Reddy Soma <ashok.reddy.soma@amd.com>
Wed, 16 Nov 2022 14:11:54 +0000 (07:11 -0700)
committerMichal Simek <michal.simek@amd.com>
Tue, 22 Nov 2022 14:02:07 +0000 (15:02 +0100)
commitce8adf1a415b3027cc74c4e41e32cffad3e5ea40
tree4a103c13dc31362f6dfe870de193f5f6cc0c3d53
parent3c53ebdd5c24c57927ff74f491dbec03c7dc0aa5
spi: cadence-qspi: Fix compilation error in mini u-boot flash reset

When cadence_qspi_versal_flash_reset() function is called in mini
u-boot where there is no firmware support, it is missing defines for
macro's BOOT_MODE_POR_0 & BOOT_MODE_POR_1. Remove them and replace with
already define macro's which have same values as these.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20221116141155.14788-3-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/cadence_ospi_versal.c