summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/dram/ddrphy-init.h
blob: 4216745d10ebb15ed51ad94dce90400d8a55990a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (C) 2016 Socionext Inc.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef ARCH_DDRPHY_INIT_H
#define ARCH_DDRPHY_INTT_H

#include <linux/compiler.h>
#include <linux/types.h>

int uniphier_ld4_ddrphy_init(void __iomem *phy_base, int freq, bool ddr3plus);
void ddrphy_prepare_training(void __iomem *phy_base, int rank);
int ddrphy_training(void __iomem *phy_base);

#endif /* ARCH_DDRPHY_INT_H */