From bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 Mon Sep 17 00:00:00 2001 From: RajithaY Date: Tue, 25 Apr 2017 03:31:15 -0700 Subject: Adding qemu as a submodule of KVMFORNFV This Patch includes the changes to add qemu as a submodule to kvmfornfv repo and make use of the updated latest qemu for the execution of all testcase Change-Id: I1280af507a857675c7f81d30c95255635667bdd7 Signed-off-by:RajithaY --- qemu/roms/u-boot/common/spl/spl_usb.c | 58 ----------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 qemu/roms/u-boot/common/spl/spl_usb.c (limited to 'qemu/roms/u-boot/common/spl/spl_usb.c') diff --git a/qemu/roms/u-boot/common/spl/spl_usb.c b/qemu/roms/u-boot/common/spl/spl_usb.c deleted file mode 100644 index 53a904379..000000000 --- a/qemu/roms/u-boot/common/spl/spl_usb.c +++ /dev/null @@ -1,58 +0,0 @@ -/* - * (C) Copyright 2014 - * Texas Instruments, - * - * Dan Murphy - * - * SPDX-License-Identifier: GPL-2.0+ - * - * Derived work from spl_mmc.c - */ - -#include -#include -#include -#include -#include - -DECLARE_GLOBAL_DATA_PTR; - -#ifdef CONFIG_USB_STORAGE -static int usb_stor_curr_dev = -1; /* current device */ -#endif - -void spl_usb_load_image(void) -{ - int err; - block_dev_desc_t *stor_dev; - - usb_stop(); - err = usb_init(); - if (err) { -#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT - printf("%s: usb init failed: err - %d\n", __func__, err); -#endif - hang(); - } - -#ifdef CONFIG_USB_STORAGE - /* try to recognize storage devices immediately */ - usb_stor_curr_dev = usb_stor_scan(1); - stor_dev = usb_stor_get_dev(usb_stor_curr_dev); -#endif - - debug("boot mode - FAT\n"); - -#ifdef CONFIG_SPL_OS_BOOT - if (spl_start_uboot() || spl_load_image_fat_os(stor_dev, - CONFIG_SYS_USB_FAT_BOOT_PARTITION)) -#endif - err = spl_load_image_fat(stor_dev, - CONFIG_SYS_USB_FAT_BOOT_PARTITION, - CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME); - - if (err) { - puts("Error loading USB device\n"); - hang(); - } -} -- cgit 1.2.3-korg