2 * Copyright (C) 2016 Socionext Inc.
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef ARCH_DDRPHY_INIT_H
8 #define ARCH_DDRPHY_INTT_H
10 #include <linux/compiler.h>
11 #include <linux/types.h>
13 int uniphier_ld4_ddrphy_init(void __iomem *phy_base, int freq, bool ddr3plus);
14 void ddrphy_prepare_training(void __iomem *phy_base, int rank);
15 int ddrphy_training(void __iomem *phy_base);
17 #endif /* ARCH_DDRPHY_INT_H */