/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/tools/ |
H A D | mtk_image.c | 575 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 576 gfh->version = ver; in put_ghf_common_header() 587 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 595 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 598 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 600 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 604 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 609 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 618 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 622 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/tools/ |
H A D | mtk_image.c | 575 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); 576 gfh->version = ver; 587 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), 595 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); 598 gfh->file_info.hdr_size = sizeof(*gfh); 600 gfh->file_info.jump_offset = sizeof(*gfh); 604 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), 609 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), 618 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), 622 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/tools/ |
H A D | mtk_image.c | 575 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 576 gfh->version = ver; in put_ghf_common_header() 587 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 595 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 598 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 600 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 604 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 609 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 618 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 622 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/tools/ |
H A D | mtk_image.c | 575 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 576 gfh->version = ver; in put_ghf_common_header() 587 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 595 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 598 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 600 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 604 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 609 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 618 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 622 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-tools/u-boot-2020.07/tools/ |
H A D | mtk_image.c | 575 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 576 gfh->version = ver; in put_ghf_common_header() 587 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 595 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 598 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 600 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 604 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 609 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 618 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 622 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/u-boot/tools/ |
H A D | mtk_image.c | 575 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 576 gfh->version = ver; in put_ghf_common_header() 587 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 595 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 598 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 600 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 604 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 609 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 618 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 622 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-nanopi-neo2/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-rpi/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-clearfog/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-orangepi-zero-plus/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-orangepi-r1/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-orangepi-plus-2e/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|
/dports/sysutils/u-boot-orangepi-zero/u-boot-2021.07/tools/ |
H A D | mtk_image.c | 630 memcpy(gfh->magic, GFH_HEADER_MAGIC, sizeof(gfh->magic)); in put_ghf_common_header() 631 gfh->version = ver; in put_ghf_common_header() 644 put_ghf_common_header(&gfh->file_info.gfh, sizeof(gfh->file_info), in put_ghf_header() 652 gfh->file_info.load_addr = cpu_to_le32(load_addr - sizeof(*gfh)); in put_ghf_header() 655 gfh->file_info.hdr_size = sizeof(*gfh); in put_ghf_header() 657 gfh->file_info.jump_offset = sizeof(*gfh); in put_ghf_header() 661 put_ghf_common_header(&gfh->bl_info.gfh, sizeof(gfh->bl_info), in put_ghf_header() 666 put_ghf_common_header(&gfh->brom_cfg.gfh, sizeof(gfh->brom_cfg), in put_ghf_header() 679 put_ghf_common_header(&gfh->bl_sec_key.gfh, sizeof(gfh->bl_sec_key), in put_ghf_header() 683 put_ghf_common_header(&gfh->anti_clone.gfh, sizeof(gfh->anti_clone), in put_ghf_header() [all …]
|