mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
adf55f63ae
Do not hard-code the number of DX blocks because it is a different value for LD11 SoC. Move the macro NR_DATX8_PER_DDRPHY to ddrphy-training.c since it is the last user. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
17 lines
414 B
C
17 lines
414 B
C
/*
|
|
* 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 */
|