Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Masahiro Yamada | b464ff9 | 2016-10-27 23:47:07 +0900 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016 Socionext Inc. |
Masahiro Yamada | b464ff9 | 2016-10-27 23:47:07 +0900 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef ARCH_DDRPHY_INIT_H |
Andre Przywara | 82a9d27 | 2023-05-15 14:52:11 +0100 | [diff] [blame] | 7 | #define ARCH_DDRPHY_INIT_H |
Masahiro Yamada | b464ff9 | 2016-10-27 23:47:07 +0900 | [diff] [blame] | 8 | |
| 9 | #include <linux/compiler.h> |
| 10 | #include <linux/types.h> |
| 11 | |
Masahiro Yamada | b464ff9 | 2016-10-27 23:47:07 +0900 | [diff] [blame] | 12 | int uniphier_ld4_ddrphy_init(void __iomem *phy_base, int freq, bool ddr3plus); |
| 13 | void ddrphy_prepare_training(void __iomem *phy_base, int rank); |
| 14 | int ddrphy_training(void __iomem *phy_base); |
| 15 | |
| 16 | #endif /* ARCH_DDRPHY_INT_H */ |