mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
f1df936445
This patch adds the DDR3 setup and training code taken from the Marvell U-Boot repository. This code used to be included as a binary (bin_hdr) into the Armada A38x boot image. Not linked with the main U-Boot. With this code addition and the serdes/PHY setup code, the Armada A38x support in mainline U-Boot is finally self-contained. So the complete image for booting can be built from mainline U-Boot. Without any additional external inclusion. Note: This code has undergone many hours (days!) of coding-style cleanup and refactoring. It still is not checkpatch clean though, I'm afraid. As the factoring of the code has so many levels of indentation that many lines are longer than 80 chars. Signed-off-by: Stefan Roese <sr@denx.de>
34 lines
621 B
C
34 lines
621 B
C
/*
|
|
* Copyright (C) Marvell International Ltd. and its affiliates
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
*/
|
|
|
|
#ifndef _DDR3_TRAINING_IP_DB_H_
|
|
#define _DDR3_TRAINING_IP_DB_H_
|
|
|
|
enum hws_pattern {
|
|
PATTERN_PBS1,
|
|
PATTERN_PBS2,
|
|
PATTERN_RL,
|
|
PATTERN_STATIC_PBS,
|
|
PATTERN_KILLER_DQ0,
|
|
PATTERN_KILLER_DQ1,
|
|
PATTERN_KILLER_DQ2,
|
|
PATTERN_KILLER_DQ3,
|
|
PATTERN_KILLER_DQ4,
|
|
PATTERN_KILLER_DQ5,
|
|
PATTERN_KILLER_DQ6,
|
|
PATTERN_KILLER_DQ7,
|
|
PATTERN_PBS3,
|
|
PATTERN_RL2,
|
|
PATTERN_TEST,
|
|
PATTERN_FULL_SSO0,
|
|
PATTERN_FULL_SSO1,
|
|
PATTERN_FULL_SSO2,
|
|
PATTERN_FULL_SSO3,
|
|
PATTERN_VREF,
|
|
PATTERN_LIMIT
|
|
};
|
|
|
|
#endif /* _DDR3_TRAINING_IP_DB_H_ */
|