diff options
author | RajithaY <rajithax.yerrumsetty@intel.com> | 2017-04-25 03:31:15 -0700 |
---|---|---|
committer | Rajitha Yerrumchetty <rajithax.yerrumsetty@intel.com> | 2017-05-22 06:48:08 +0000 |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/u-boot/board/xilinx/ppc405-generic | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (diff) |
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<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/roms/u-boot/board/xilinx/ppc405-generic')
3 files changed, 0 insertions, 85 deletions
diff --git a/qemu/roms/u-boot/board/xilinx/ppc405-generic/Makefile b/qemu/roms/u-boot/board/xilinx/ppc405-generic/Makefile deleted file mode 100644 index c9da87065..000000000 --- a/qemu/roms/u-boot/board/xilinx/ppc405-generic/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# -# (C) Copyright 2000-2006 -# Wolfgang Denk, DENX Software Engineering, wd@denx.de. -# -# (C) Copyright 2008 -# Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es -# Work supported by Qtechnology http://www.qtec.com -# -# SPDX-License-Identifier: GPL-2.0+ -# - -obj-y += ../../xilinx/ppc405-generic/xilinx_ppc405_generic.o diff --git a/qemu/roms/u-boot/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c b/qemu/roms/u-boot/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c deleted file mode 100644 index e3dd468f1..000000000 --- a/qemu/roms/u-boot/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c +++ /dev/null @@ -1,48 +0,0 @@ -/* - * (C) Copyright 2008 - * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es - * This work has been supported by: QTechnology http://qtec.com/ - * - * SPDX-License-Identifier: GPL-2.0+ -*/ - -#include <config.h> -#include <common.h> -#include <asm/processor.h> - -ulong __get_PCI_freq(void) -{ - return 0; -} - -ulong get_PCI_freq(void) __attribute__((weak, alias("__get_PCI_freq"))); - -int __board_pre_init(void) -{ - return 0; -} -int board_pre_init(void) __attribute__((weak, alias("__board_pre_init"))); - -int __checkboard(void) -{ - puts("Xilinx PPC405 Generic Board\n"); - return 0; -} -int checkboard(void) __attribute__((weak, alias("__checkboard"))); - -phys_size_t __initdram(int board_type) -{ - return get_ram_size(XPAR_DDR2_SDRAM_MEM_BASEADDR, - CONFIG_SYS_SDRAM_SIZE_MB * 1024 * 1024); -} -phys_size_t initdram(int) __attribute__((weak, alias("__initdram"))); - -void __get_sys_info(sys_info_t *sysInfo) -{ - sysInfo->freqProcessor = XPAR_CORE_CLOCK_FREQ_HZ; - sysInfo->freqPLB = XPAR_PLB_CLOCK_FREQ_HZ; - sysInfo->freqPCI = 0; - - return; -} -void get_sys_info(sys_info_t *) __attribute__((weak, alias("__get_sys_info"))); diff --git a/qemu/roms/u-boot/board/xilinx/ppc405-generic/xparameters.h b/qemu/roms/u-boot/board/xilinx/ppc405-generic/xparameters.h deleted file mode 100644 index f0ff78fca..000000000 --- a/qemu/roms/u-boot/board/xilinx/ppc405-generic/xparameters.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * (C) Copyright 2008 - * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es - * This work has been supported by: QTechnology http://qtec.com/ - * based on xparameters-ml507.h by Xilinx - * - * SPDX-License-Identifier: GPL-2.0+ -*/ - -#ifndef XPARAMETER_H -#define XPARAMETER_H - -#define XPAR_DDR2_SDRAM_MEM_BASEADDR 0x00000000 -#define XPAR_IIC_EEPROM_BASEADDR 0x81600000 -#define XPAR_INTC_0_BASEADDR 0x81800000 -#define XPAR_SPI_0_BASEADDR 0x83400000 -#define XPAR_UARTLITE_0_BASEADDR 0x84000000 -#define XPAR_FLASH_MEM0_BASEADDR 0xFE000000 -#define XPAR_PLB_CLOCK_FREQ_HZ 100000000 -#define XPAR_CORE_CLOCK_FREQ_HZ 400000000 -#define XPAR_INTC_MAX_NUM_INTR_INPUTS 13 -#define XPAR_UARTLITE_0_BAUDRATE 9600 -#define XPAR_SPI_0_NUM_TRANSFER_BITS 8 - -#endif |