u-boot/drivers/ram/stm32mp1/stm32mp1_tests.h
Patrick Delaunay b3c29dc9e5 stm32mp1: ram: remove tuning support
Remove the DDR interactive command tuning, as the support of a predefined
DDR PHY tuning is removed for STM32MP1 driver in SPL and in TF-A
and the result of this tuning will be never used.

Moreover this SW tuning procedure can failed on some hardware
configuration (to many BIST errors and no convergence); it will be no
more supported in the next delivery of the DDR utilities included in
the CubeMX tool of STMicroelectronics.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-11-30 16:43:28 +01:00

31 lines
587 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;
#endif