Searched refs:magic (Results 1 - 25 of 158) sorted by relevance

1234567

/u-boot/arch/sandbox/include/asm/
H A Dhandoff.h15 ulong magic; /* Used for testing */ member in struct:arch_spl_handoff
/u-boot/board/liebherr/xea/
H A Dboot_img_scr.h8 u8 magic; /* Must be 'B' = 0x42 */ member in struct:boot_img_src
/u-boot/arch/arm/mach-zynqmp/
H A Dhandoff.c64 uint8_t magic[4]; member in struct:xfsbl_atf_handoff_params
78 atfhandoffparams->magic[0] = 'X';
79 atfhandoffparams->magic[1] = 'L';
80 atfhandoffparams->magic[2] = 'N';
81 atfhandoffparams->magic[3] = 'X';
/u-boot/board/phytium/pomelo/
H A Dsec.c15 u32 magic; member in struct:common_config
23 .magic = PARAMETER_COMMON_MAGIC,
H A Dpcie.c21 u32 magic; member in struct:pcu_config
32 .magic = PARAMETER_PCIE_MAGIC,
H A Dpll.c16 u32 magic; member in struct:pll_config
30 .magic = PARAMETER_PLL_MAGIC,
/u-boot/board/phytium/pe2201/
H A Dsec.c15 u32 magic; member in struct:common_config
23 .magic = PARAMETER_COMMON_MAGIC,
/u-boot/board/siemens/draco/
H A Dboard.h27 unsigned int magic; /* 0x33524444 */ member in struct:ddr3_data
47 unsigned int magic; member in struct:chip_data
H A Dboard.c79 PRINTARGS(magic);
117 u32 magic; member in struct:am335x_nand_geometry
133 if (geo.magic != 0xa657b310) {
134 printf("%s: bad magic: %x\n", __func__, geo.magic);
162 if (ddr3_default.magic == settings.ddr3.magic &&
166 if (ddr3_default.magic != settings.ddr3.magic)
175 if (MAGIC_CHIP == settings.chip.magic)
[all...]
/u-boot/include/
H A Dopensbi.h10 /** Expected value of info magic ('OSBI' ascii string in hex) */
28 /** Info magic */
29 unsigned long magic; member in struct:fw_dynamic_info
H A Ddt_table.h20 u32 magic; /* DT_TABLE_MAGIC */ member in struct:dt_table_header
H A Dsparse_format.h15 __le32 magic; /* 0xed26ff3a */ member in struct:sparse_header
/u-boot/board/variscite/common/
H A Dimx9_eeprom.h35 u16 magic; /* 00-0x00 - magic number */ member in struct:var_eeprom
57 u16 magic; /* 00-0x00 - magic number */ member in struct:var_carrier_eeprom
65 if (htons(ep->magic) != VAR_SOM_EEPROM_MAGIC) {
66 debug("Invalid EEPROM magic 0x%x, expected 0x%x\n",
67 htons(ep->magic), VAR_SOM_EEPROM_MAGIC);
/u-boot/drivers/bootcount/
H A Dbootcount.c72 u32 magic = CONFIG_SYS_BOOTCOUNT_MAGIC; local
77 if ((tmp & 0xffff0000) != (magic & 0xffff0000))
82 if (raw_bootcount_load(reg + 4) != magic)
95 u32 magic = CONFIG_SYS_BOOTCOUNT_MAGIC; local
101 raw_bootcount_store(reg, (magic & 0xffff0000) | a);
106 raw_bootcount_store(reg + 4, magic);
H A Dpmic_pfuze100.c25 static int pfuze100_get_magic(struct udevice *dev, u32 *magic) argument
32 *magic = ret;
37 *magic += ret << 8;
88 debug("%s: writing magic failed\n", __func__);
103 u32 magic; local
105 if (pfuze100_get_magic(priv->pmic, &magic)) {
106 debug("%s: reading magic failed\n", __func__);
110 if (magic != PFUZE_BC_MAGIC) {
H A Dbootcount_ext.c14 u8 magic; member in struct:__anon1
39 buf->magic = BC_MAGIC;
72 if (buf->magic == BC_MAGIC && buf->version == BC_VERSION) {
/u-boot/lib/libavb/
H A Davb_footer.h36 uint8_t magic[AVB_FOOTER_MAGIC_LEN]; member in struct:AvbFooter
H A Davb_footer.c19 /* Check that magic is correct. */
20 if (avb_safe_memcmp(dest->magic, AVB_FOOTER_MAGIC, AVB_FOOTER_MAGIC_LEN) !=
22 avb_error("Footer magic is incorrect.\n");
/u-boot/board/gdsys/a38x/
H A Dhre.h11 uint32_t magic; member in struct:key_program
H A Dkeyprogram.c78 u32 magic, code_crc, code_size; local
80 magic = get_unaligned_be32(*progdata);
86 if (magic != expected_magic)
94 prog->magic = magic;
/u-boot/board/sifive/unmatched/
H A Dhifive-platform-i2c-eeprom.c44 * MAGIC_NUMBER_BYTES: number of bytes used by the magic number
73 u8 magic[MAGIC_NUMBER_BYTES]; member in struct:sifive_eeprom
94 static const unsigned char magic[MAGIC_NUMBER_BYTES] = { 0xf1, 0x5e, 0x50, 0x45 }; variable
96 /* Does the magic number match that of a SiFive EEPROM? */
99 return (memcmp(&e.magic, &magic, MAGIC_NUMBER_BYTES) == 0);
147 printf("Not a SiFive HiFive EEPROM data format - magic bytes don't match\n");
406 * Initialize the in-memory EEPROM copy with the magic number. Must
408 * one with a corrupted magic number.
413 memcpy(e.magic, magi
533 u8 magic[MAGIC_NUMBER_BYTES]; member in struct:board_eeprom
[all...]
/u-boot/drivers/mtd/ubi/
H A Dubi-media.h31 /* Erase counter header magic number (ASCII "UBI#") */
33 /* Volume identifier header magic number (ASCII "UBI!") */
118 * @magic: erase counter header magic number (%UBI_EC_HDR_MAGIC)
151 __be32 magic; member in struct:ubi_ec_hdr
164 * @magic: volume identifier header magic number (%UBI_VID_HDR_MAGIC)
272 __be32 magic; member in struct:ubi_vid_hdr
405 * @magic: fastmap super block magic numbe
415 __be32 magic; member in struct:ubi_fm_sb
437 __be32 magic; member in struct:ubi_fm_hdr
457 __be32 magic; member in struct:ubi_fm_scan_pool
487 __be32 magic; member in struct:ubi_fm_volhdr
506 __be32 magic; member in struct:ubi_fm_eba
[all...]
/u-boot/lib/
H A Dlz4_wrapper.c28 u32 magic; local
35 magic = get_unaligned_le32(in);
48 if (magic != LZ4F_MAGIC || version != 1)
/u-boot/tools/
H A Dublimage.h56 uint32_t magic; /* Magic Number, see UBL_* defines */ member in struct:ubl_header
/u-boot/arch/arm/mach-mediatek/mt7623/
H A Dpreloader.h15 u32 magic; member in struct:lk_hdr::__anon357
73 u32 magic; member in struct:boot_argument

Completed in 121 milliseconds

1234567