]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ddr: marvell: a38x: fix comment in conditional macro
authorMarek Behún <marek.behun@nic.cz>
Fri, 19 Feb 2021 16:11:26 +0000 (17:11 +0100)
committerStefan Roese <sr@denx.de>
Fri, 26 Feb 2021 09:22:29 +0000 (10:22 +0100)
The code was processed with unifdef utility to omit portions not
relevant to A38x and DDR3. This removes usage of many macros, including
A70X0, A80X0 and A3900. It seems that the unifdef utility did not remove
the macros from #else comment.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
drivers/ddr/marvell/a38x/ddr3_training.c

index 0358f6287a8097d25f0621426a67c6e35c0862c9..2b3af23202b6882cb072135a5c27b987176c2d30 100644 (file)
@@ -219,7 +219,7 @@ static int ddr3_tip_pad_inv(void)
                                                       DDR_PHY_CONTROL,
                                                       PHY_CTRL_PHY_REG,
                                                       data, data);
-#else /* !CONFIG_ARMADA_38X && !CONFIG_ARMADA_39X && !A70X0 && !A80X0 && !A3900 */
+#else /* !CONFIG_ARMADA_38X && !CONFIG_ARMADA_39X */
 #pragma message "unknown platform to configure ddr clock swap"
 #endif
                }