blob: 4431f5c0ba6f429f281b0cae2f9716027e8e5ffd [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
Andre Przywara82a9d272023-05-15 14:52:11 +01007#define ARCH_DDRPHY_INIT_H
Masahiro Yamadab464ff92016-10-27 23:47:07 +09008
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 */