uboot/drivers/ram/stm32mp1/stm32mp1_tests.h
<<
>>
Prefs
   1/* 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
  31extern const struct test_desc tuning[];
  32extern const int tuning_nb;
  33
  34#endif
  35