blob: 09981f6e06f5b08a843b50fa504f9aeb2d384616 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Masahiro Yamadab464ff92016-10-27 23:47:07 +09002/*
3 * Copyright (C) 2016 Socionext Inc.
Masahiro Yamadab464ff92016-10-27 23:47:07 +09004 */
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
Masahiro Yamadab464ff92016-10-27 23:47:07 +090012int uniphier_ld4_ddrphy_init(void __iomem *phy_base, int freq, bool ddr3plus);
13void ddrphy_prepare_training(void __iomem *phy_base, int rank);
14int ddrphy_training(void __iomem *phy_base);
15
16#endif /* ARCH_DDRPHY_INT_H */