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