aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-02-19 17:11:26 +0100
committerStefan Roese <sr@denx.de>2021-02-26 10:22:29 +0100
commit2f0c18b1584129d8386f5a18390996f6bea78065 (patch)
treed294d7c57f2fe3a052faa408df8ad492643745a4 /drivers/ddr/marvell
parentb1b17f89674bb3e4366eece4f037fb32544d9757 (diff)
downloadu-boot-2f0c18b1584129d8386f5a18390996f6bea78065.zip
u-boot-2f0c18b1584129d8386f5a18390996f6bea78065.tar.gz
u-boot-2f0c18b1584129d8386f5a18390996f6bea78065.tar.bz2
ddr: marvell: a38x: fix comment in conditional macro
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>
Diffstat (limited to 'drivers/ddr/marvell')
-rw-r--r--drivers/ddr/marvell/a38x/ddr3_training.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ddr/marvell/a38x/ddr3_training.c b/drivers/ddr/marvell/a38x/ddr3_training.c
index 0358f62..2b3af23 100644
--- a/drivers/ddr/marvell/a38x/ddr3_training.c
+++ b/drivers/ddr/marvell/a38x/ddr3_training.c
@@ -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
}