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, 16 Apr 2019 09:52:02 +0000 (11:52 +0200)
commit350cfe79a8fb288e9066d5668af7c5ab6857edea
treef6e0226c1a537ce135132549411d7c81c3377556
parentcc9f55e241c3d50ffcdb076abbf5a7a47e96c4fb
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