Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 171) sorted by relevance

1234567

/u-boot/arch/arm/mach-zynqmp/
A Dhandoff.c63 uint8_t magic[4]; member
76 atfhandoffparams->magic[0] = 'X'; in bl2_plat_get_bl31_params()
77 atfhandoffparams->magic[1] = 'L'; in bl2_plat_get_bl31_params()
78 atfhandoffparams->magic[2] = 'N'; in bl2_plat_get_bl31_params()
79 atfhandoffparams->magic[3] = 'X'; in bl2_plat_get_bl31_params()
/u-boot/drivers/bootcount/
A Dbootcount.c72 u32 magic = CONFIG_SYS_BOOTCOUNT_MAGIC; in bootcount_mem_get() local
77 if ((tmp & 0xffff0000) != (magic & 0xffff0000)) in bootcount_mem_get()
82 if (raw_bootcount_load(reg + 4) != magic) in bootcount_mem_get()
95 u32 magic = CONFIG_SYS_BOOTCOUNT_MAGIC; in bootcount_mem_set() local
101 raw_bootcount_store(reg, (magic & 0xffff0000) | a); in bootcount_mem_set()
106 raw_bootcount_store(reg + 4, magic); in bootcount_mem_set()
A Dbootcount_ext.c14 u8 magic; member
39 buf->magic = BC_MAGIC; in bootcount_store()
72 if (buf->magic == BC_MAGIC && buf->version == BC_VERSION) { in bootcount_load()
/u-boot/drivers/mtd/ubi/
A Dubi-media.h151 __be32 magic; member
272 __be32 magic; member
415 __be32 magic; member
437 __be32 magic; member
457 __be32 magic; member
487 __be32 magic; member
506 __be32 magic; member
A Dio.c732 uint32_t crc, magic, hdr_crc; in ubi_io_read_ec_hdr() local
753 magic = be32_to_cpu(ec_hdr->magic); in ubi_io_read_ec_hdr()
754 if (magic != UBI_EC_HDR_MAGIC) { in ubi_io_read_ec_hdr()
1005 uint32_t crc, magic, hdr_crc; in ubi_io_read_vid_hdr() local
1017 magic = be32_to_cpu(vid_hdr->magic); in ubi_io_read_vid_hdr()
1154 uint32_t magic; in self_check_ec_hdr() local
1159 magic = be32_to_cpu(ec_hdr->magic); in self_check_ec_hdr()
1160 if (magic != UBI_EC_HDR_MAGIC) { in self_check_ec_hdr()
1162 magic, UBI_EC_HDR_MAGIC); in self_check_ec_hdr()
1237 uint32_t magic; in self_check_vid_hdr() local
[all …]
/u-boot/board/siemens/draco/
A Dboard.c91 PRINTARGS(magic); in print_ddr3_timings()
129 u32 magic; member
145 if (geo.magic != 0xa657b310) { in draco_read_nand_geometry()
146 printf("%s: bad magic: %x\n", __func__, geo.magic); in draco_read_nand_geometry()
180 if (ddr3_default.magic == settings.ddr3.magic && in read_eeprom()
184 if (ddr3_default.magic != settings.ddr3.magic) in read_eeprom()
193 if (MAGIC_CHIP == settings.chip.magic) in read_eeprom()
A Dboard.h31 unsigned int magic; /* 0x33524444 */ member
51 unsigned int magic; member
/u-boot/board/gdsys/a38x/
A Dkeyprogram.c78 u32 magic, code_crc, code_size; in extract_subprogram() local
80 magic = get_unaligned_be32(*progdata); in extract_subprogram()
86 if (magic != expected_magic) in extract_subprogram()
94 prog->magic = magic; in extract_subprogram()
/u-boot/common/
A Dimage-android-dt.c22 u32 magic; in android_dt_check_header() local
25 magic = fdt32_to_cpu(hdr->magic); in android_dt_check_header()
28 return magic == DT_TABLE_MAGIC; in android_dt_check_header()
116 printf(" magic = %08x\n", fdt32_to_cpu(hdr->magic)); in android_dt_print_contents()
/u-boot/tools/
A Dsunxi_egon.c33 if (memcmp(header->magic, BOOT0_MAGIC, sizeof(header->magic))) in egon_verify_header()
84 memcpy(header->magic, BOOT0_MAGIC, sizeof(header->magic)); in egon_set_header()
A Dublimage.c65 printf("UBL magic : %08x\n", ubl_hdr->magic); in print_hdr()
79 ublhdr->magic = get_table_entry_id(ublimage_bootops, in parse_cfg_cmd()
81 if (ublhdr->magic == -1) { in parse_cfg_cmd()
86 ublhdr->magic += UBL_MAGIC_BASE; in parse_cfg_cmd()
199 if ((ubl_hdr->magic & 0xFFFFFF00) != UBL_MAGIC_BASE) in ublimage_verify_header()
A Dmtk_image.h60 uint32_t magic; member
91 uint8_t magic[3]; member
191 uint32_t magic; member
/u-boot/arch/riscv/lib/
A Dimage.c32 uint32_t magic; /* Magic number */ member
43 if (lhdr->magic != LINUX_RISCV_IMAGE_MAGIC) { in booti_setup()
/u-boot/include/jffs2/
A Djffs2.h116 __u16 magic; member
124 __u16 magic; member
148 __u16 magic; /* A constant magic number. */ member
174 __u16 magic; member
/u-boot/drivers/net/fm/
A Dfdt.c53 if ((hdr->magic[0] != 'Q') || (hdr->magic[1] != 'E') || in fdt_fixup_fman_firmware()
54 (hdr->magic[2] != 'F')) { in fdt_fixup_fman_firmware()
/u-boot/fs/cbfs/
A Dcbfs.c63 dest->magic = be32_to_cpu(src->magic); in swap_header()
75 memcpy(&dest->magic, &src->magic, sizeof(dest->magic)); in swap_file_header()
111 if (memcmp(good_file_magic, &file_header->magic, in file_cbfs_next_file()
112 sizeof(file_header->magic))) { in file_cbfs_next_file()
209 if (header->magic != good_magic || header->offset > in load_header()
/u-boot/board/gardena/smart-gateway-mt7688/
A Dboard.c47 u32 magic; member
129 if (fd->magic != FACTORY_DATA_MAGIC) in factory_data_env_config()
132 crc = crc32(0, (u8 *)&fd->magic, FACTORY_DATA_CRC_LEN); in factory_data_env_config()
246 fd->magic = FACTORY_DATA_MAGIC; in do_fd_write()
277 fd->crc = crc32(0, (u8 *)&fd->magic, FACTORY_DATA_CRC_LEN); in do_fd_write()
/u-boot/lib/
A Dlz4_wrapper.c41 u32 magic; in ulz4fn() local
48 magic = get_unaligned_le32(in); in ulz4fn()
61 if (magic != LZ4F_MAGIC || version != 1) in ulz4fn()
/u-boot/arch/arm/lib/
A Dimage.c28 uint32_t magic; /* Magic number */ member
43 if (ih->magic != le32_to_cpu(LINUX_ARM64_IMAGE_MAGIC)) { in booti_setup()
/u-boot/drivers/mtd/ubispl/
A Dubispl.c235 u32 magic; in ubi_io_read_vid_hdr() local
254 vh->magic = 0; in ubi_io_read_vid_hdr()
260 magic = be32_to_cpu(vh->magic); in ubi_io_read_vid_hdr()
261 if (magic != UBI_VID_HDR_MAGIC) { in ubi_io_read_vid_hdr()
263 if (magic == 0xffffffff) in ubi_io_read_vid_hdr()
501 be32_to_cpu(fmhdr->magic), UBI_FM_HDR_MAGIC); in ubi_attach_fastmap()
511 be32_to_cpu(fmpl1->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()
521 be32_to_cpu(fmpl2->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()
598 be32_to_cpu(fmvhdr->magic), UBI_FM_VHDR_MAGIC); in ubi_attach_fastmap()
615 be32_to_cpu(fm_eba->magic), UBI_FM_EBA_MAGIC); in ubi_attach_fastmap()
[all …]
/u-boot/arch/arm/mach-mediatek/mt7623/
A Dpreloader.h15 u32 magic; member
73 u32 magic; member
/u-boot/board/corscience/tricorder/
A Dtricorder-eeprom.c24 uint32_t magic; in handle_eeprom_v0() member
90 if (be32_to_cpu(eeprom->magic) != TRICORDER_EEPROM_MAGIC) { in tricorder_get_eeprom()
92 be32_to_cpu(eeprom->magic)); in tricorder_get_eeprom()
143 eeprom.magic = cpu_to_be32(TRICORDER_EEPROM_MAGIC); in tricorder_eeprom_write()
/u-boot/arch/sandbox/include/asm/
A Dhandoff.h15 ulong magic; /* Used for testing */ member
/u-boot/fs/ubifs/
A Dscan.c67 uint32_t magic; in ubifs_scan_a_node() local
69 magic = le32_to_cpu(ch->magic); in ubifs_scan_a_node()
71 if (magic == 0xFFFFFFFF) { in ubifs_scan_a_node()
76 if (magic != UBIFS_NODE_MAGIC) in ubifs_scan_a_node()
/u-boot/include/
A Dcbfs.h55 u32 magic; member
65 u8 magic[8]; member

Completed in 51 milliseconds

1234567