mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 08:28:51 +09:00
![Patrick Delaunay](/assets/img/avatar_default.png)
Add command tuning for DDR interactive mode, used during board bring-up or with CubeMX DDR tools to execute software tuning for the DDR configuration: - software read DQS Gating (replace the built-in one) - Bit de-skew - Eye Training or DQS training Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
35 lines
656 B
C
35 lines
656 B
C
/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
|
|
/*
|
|
* Copyright (C) 2019, STMicroelectronics - All Rights Reserved
|
|
*/
|
|
|
|
#ifndef _RAM_STM32MP1_TESTS_H_
|
|
#define _RAM_STM32MP1_TESTS_H_
|
|
|
|
#include "stm32mp1_ddr_regs.h"
|
|
|
|
enum test_result {
|
|
TEST_PASSED,
|
|
TEST_FAILED,
|
|
TEST_ERROR
|
|
};
|
|
|
|
struct test_desc {
|
|
enum test_result (*fct)(struct stm32mp1_ddrctl *ctl,
|
|
struct stm32mp1_ddrphy *phy,
|
|
char *string,
|
|
int argc, char *argv[]);
|
|
const char *name;
|
|
const char *usage;
|
|
const char *help;
|
|
u8 max_args;
|
|
};
|
|
|
|
extern const struct test_desc test[];
|
|
extern const int test_nb;
|
|
|
|
extern const struct test_desc tuning[];
|
|
extern const int tuning_nb;
|
|
|
|
#endif
|