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

efi_boottime.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    cmd_bootm.c 41.60 KiB
    /*
     * (C) Copyright 2000-2006
     * 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
     */
    
    /*
     * Boot support
     */
    #include <common.h>
    #include <watchdog.h>
    #include <command.h>
    #include <image.h>
    #include <malloc.h>
    #include <zlib.h>
    #include <bzlib.h>
    #include <environment.h>
    #include <asm/byteorder.h>
    
    #if defined(CONFIG_OF_LIBFDT)
    #include <fdt.h>
    #include <libfdt.h>
    #include <fdt_support.h>
    #endif
    #if defined(CONFIG_OF_FLAT_TREE)
    #include <ft_build.h>
    #endif
    
    DECLARE_GLOBAL_DATA_PTR;
    
     /*cmd_boot.c*/
     extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
    
    #if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_TIMESTAMP) || defined(CONFIG_CMD_DATE)
    #include <rtc.h>
    #endif
    
    #ifdef CFG_HUSH_PARSER
    #include <hush.h>
    #endif
    
    #ifdef CONFIG_SHOW_BOOT_PROGRESS
    # include <status_led.h>
    # define SHOW_BOOT_PROGRESS(arg)	show_boot_progress(arg)
    #else
    # define SHOW_BOOT_PROGRESS(arg)
    #endif
    
    #ifdef CFG_INIT_RAM_LOCK
    #include <asm/cache.h>
    #endif
    
    #ifdef CONFIG_LOGBUFFER