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/tools/ublimage.h | |
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/tools/ublimage.h')
-rw-r--r-- | qemu/roms/u-boot/tools/ublimage.h | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/qemu/roms/u-boot/tools/ublimage.h b/qemu/roms/u-boot/tools/ublimage.h deleted file mode 100644 index 32cc5822c..000000000 --- a/qemu/roms/u-boot/tools/ublimage.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * (C) Copyright 2011 - * Heiko Schocher, DENX Software Engineering, hs@denx.de. - * - * Vased on: - * (C) Copyright 2009 - * Stefano Babic, DENX Software Engineering, sbabic@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ - */ - -#ifndef _UBLIMAGE_H_ -#define _UBLIMAGE_H_ - -enum ublimage_cmd { - CMD_INVALID, - CMD_BOOT_MODE, - CMD_ENTRY, - CMD_PAGE, - CMD_ST_BLOCK, - CMD_ST_PAGE, - CMD_LD_ADDR -}; - -enum ublimage_fld_types { - CFG_INVALID = -1, - CFG_COMMAND, - CFG_REG_VALUE -}; - -/* - * from sprufg5a.pdf Table 110 - * Used by RBL when doing NAND boot - */ -#define UBL_MAGIC_BASE (0xA1ACED00) -/* Safe boot mode */ -#define UBL_MAGIC_SAFE (0x00) -/* DMA boot mode */ -#define UBL_MAGIC_DMA (0x11) -/* I Cache boot mode */ -#define UBL_MAGIC_IC (0x22) -/* Fast EMIF boot mode */ -#define UBL_MAGIC_FAST (0x33) -/* DMA + ICache boot mode */ -#define UBL_MAGIC_DMA_IC (0x44) -/* DMA + ICache + Fast EMIF boot mode */ -#define UBL_MAGIC_DMA_IC_FAST (0x55) - -/* Define max UBL image size */ -#define UBL_IMAGE_SIZE (0x00003800u) - -/* one NAND block */ -#define UBL_BLOCK_SIZE 2048 - -/* from sprufg5a.pdf Table 109 */ -struct ubl_header { - uint32_t magic; /* Magic Number, see UBL_* defines */ - uint32_t entry; /* entry point address for bootloader */ - uint32_t pages; /* number of pages (size of bootloader) */ - uint32_t block; /* - * blocknumber where user bootloader is - * present - */ - uint32_t page; /* - * page number where user bootloader is - * present. - */ - uint32_t pll_m; /* - * PLL setting -Multiplier (only valid if - * Magic Number indicates PLL enable). - */ - uint32_t pll_n; /* - * PLL setting -Divider (only valid if - * Magic Number indicates PLL enable). - */ - uint32_t emif; /* - * fast EMIF setting (only valid if - * Magic Number indicates fast EMIF boot). - */ - /* to fit in one nand block */ - unsigned char res[UBL_BLOCK_SIZE - 8 * 4]; -}; - -#endif /* _UBLIMAGE_H_ */ |