blob: 4216745d10ebb15ed51ad94dce90400d8a55990a [file] [log] [blame]
Masahiro Yamadab464ff92016-10-27 23:47:07 +09001/*
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
Masahiro Yamadab464ff92016-10-27 23:47:07 +090013int uniphier_ld4_ddrphy_init(void __iomem *phy_base, int freq, bool ddr3plus);
14void ddrphy_prepare_training(void __iomem *phy_base, int rank);
15int ddrphy_training(void __iomem *phy_base);
16
17#endif /* ARCH_DDRPHY_INT_H */