blob: 8436780790fee0b898671c11b1809f9ee3d34ba7 [file] [log] [blame]
Patrick Delaunay0d447522019-04-10 14:09:28 +02001/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
2/*
3 * Copyright (C) 2019, STMicroelectronics - All Rights Reserved
4 */
5
6#ifndef _RAM_STM32MP1_TESTS_H_
7#define _RAM_STM32MP1_TESTS_H_
8
9#include "stm32mp1_ddr_regs.h"
10
11enum test_result {
12 TEST_PASSED,
13 TEST_FAILED,
14 TEST_ERROR
15};
16
17struct test_desc {
18 enum test_result (*fct)(struct stm32mp1_ddrctl *ctl,
19 struct stm32mp1_ddrphy *phy,
20 char *string,
21 int argc, char *argv[]);
22 const char *name;
23 const char *usage;
24 const char *help;
25 u8 max_args;
26};
27
28extern const struct test_desc test[];
29extern const int test_nb;
30
Patrick Delaunay0d447522019-04-10 14:09:28 +020031#endif