Skip to content
Snippets Groups Projects
Select Git revision
  • 97d7ab8a8eb6dbf7c9e8096f31031dfed81db8f8
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
8 results

tests.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    tests.c 6.93 KiB
    /*
     * (C) Copyright 2002
     * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
     *
     * See file CREDITS for list of people who contributed to this
     * project.
     *
     * This program is free software; you can redistribute it and/or
     * modify it under the terms of the GNU General Public License as
     * published by the Free Software Foundation; either version 2 of
     * the License, or (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
     * MA 02111-1307 USA
     *
     * Be sure to mark tests to be run before relocation as such with the
     * CONFIG_SYS_POST_PREREL flag so that logging is done correctly if the
     * logbuffer support is enabled.
     */
    
    #include <common.h>
    
    #include <post.h>
    
    extern int ocm_post_test (int flags);
    extern int cache_post_test (int flags);
    extern int watchdog_post_test (int flags);
    extern int i2c_post_test (int flags);
    extern int rtc_post_test (int flags);
    extern int memory_post_test (int flags);
    extern int cpu_post_test (int flags);
    extern int fpu_post_test (int flags);
    extern int uart_post_test (int flags);
    extern int ether_post_test (int flags);
    extern int spi_post_test (int flags);
    extern int usb_post_test (int flags);
    extern int spr_post_test (int flags);
    extern int sysmon_post_test (int flags);
    extern int dsp_post_test (int flags);
    extern int codec_post_test (int flags);
    extern int ecc_post_test (int flags);
    extern int flash_post_test(int flags);
    
    extern int dspic_init_post_test (int flags);
    extern int dspic_post_test (int flags);
    extern int gdc_post_test (int flags);
    extern int fpga_post_test (int flags);
    extern int lwmon5_watchdog_post_test(int flags);
    extern int sysmon1_post_test(int flags);
    extern int coprocessor_post_test(int flags);
    extern int led_post_test(int flags);
    extern int button_post_test(int flags);
    
    extern int sysmon_init_f (void);
    
    extern void sysmon_reloc (void);
    
    
    struct post_test post_list[] =
    {
    #if CONFIG_POST & CONFIG_SYS_POST_OCM
        {
    	"OCM test",