]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm64: zynqmp: fix preprocessor check for SPL_ZYNQMP_TWO_SDHCI
authorLuca Ceresoli <luca@lucaceresoli.net>
Mon, 15 Apr 2019 14:18:18 +0000 (16:18 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 4 Jun 2019 11:38:45 +0000 (13:38 +0200)
commit6b6f167a3dfda679c520d9e34da99de779296c82
tree0d9bcb6a49c37c3f6d0340313c63a838867b4521
parent117aa8e082c7a3fcd123232367835e181de317b6
arm64: zynqmp: fix preprocessor check for SPL_ZYNQMP_TWO_SDHCI

A missing CONFIG_ prefix while checking for this Kconfig variable makes the
check always fail. Fix it. While there also switch from the '#if defined'
form to the '#ifdef' form as the other checks in this function.

Fixes: 35e2b92344b1 ("arm64: zynqmp: Fix logic around CONFIG_ZYNQ_SDHCI")
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynqmp/spl.c