Merge branch 'master' of git://git.denx.de/u-boot-usb
[platform/kernel/u-boot.git] / arch / arm / mach-uniphier / dram / ddrphy-init.h
1 /*
2  * Copyright (C) 2016 Socionext Inc.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef ARCH_DDRPHY_INIT_H
8 #define ARCH_DDRPHY_INTT_H
9
10 #include <linux/compiler.h>
11 #include <linux/types.h>
12
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);
16
17 #endif /* ARCH_DDRPHY_INT_H */