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/timll/devkit3250 | |
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/timll/devkit3250')
-rw-r--r-- | qemu/roms/u-boot/board/timll/devkit3250/Makefile | 8 | ||||
-rw-r--r-- | qemu/roms/u-boot/board/timll/devkit3250/devkit3250.c | 52 |
2 files changed, 0 insertions, 60 deletions
diff --git a/qemu/roms/u-boot/board/timll/devkit3250/Makefile b/qemu/roms/u-boot/board/timll/devkit3250/Makefile deleted file mode 100644 index 472298637..000000000 --- a/qemu/roms/u-boot/board/timll/devkit3250/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# -# Copyright (C) 2011 by Vladimir Zapolskiy <vz@mleia.com> -# Copyright (C) 2008, Guennadi Liakhovetski <lg@denx.de> -# -# SPDX-License-Identifier: GPL-2.0+ -# - -obj-y := devkit3250.o diff --git a/qemu/roms/u-boot/board/timll/devkit3250/devkit3250.c b/qemu/roms/u-boot/board/timll/devkit3250/devkit3250.c deleted file mode 100644 index 6acc41689..000000000 --- a/qemu/roms/u-boot/board/timll/devkit3250/devkit3250.c +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Embest/Timll DevKit3250 board support - * - * Copyright (C) 2011 Vladimir Zapolskiy <vz@mleia.com> - * - * SPDX-License-Identifier: GPL-2.0+ - */ - -#include <common.h> -#include <asm/arch/sys_proto.h> -#include <asm/arch/cpu.h> -#include <asm/arch/emc.h> - -DECLARE_GLOBAL_DATA_PTR; - -static struct emc_regs *emc = (struct emc_regs *)EMC_BASE; - -int board_early_init_f(void) -{ - lpc32xx_uart_init(CONFIG_SYS_LPC32XX_UART); - - return 0; -} - -int board_init(void) -{ - /* adress of boot parameters */ - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; - -#ifdef CONFIG_SYS_FLASH_CFI - /* Use 16-bit memory interface for NOR Flash */ - emc->stat[0].config = EMC_STAT_CONFIG_PB | EMC_STAT_CONFIG_16BIT; - - /* Change the NOR timings to optimum value to get maximum bandwidth */ - emc->stat[0].waitwen = EMC_STAT_WAITWEN(1); - emc->stat[0].waitoen = EMC_STAT_WAITOEN(1); - emc->stat[0].waitrd = EMC_STAT_WAITRD(12); - emc->stat[0].waitpage = EMC_STAT_WAITPAGE(12); - emc->stat[0].waitwr = EMC_STAT_WAITWR(5); - emc->stat[0].waitturn = EMC_STAT_WAITTURN(2); -#endif - - return 0; -} - -int dram_init(void) -{ - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, - CONFIG_SYS_SDRAM_SIZE); - - return 0; -} |