mesa3d-headers: remove installation of OpenVG headers
[buildroot-gz.git] / package / fis / 0003-list_output.patch
blob6c1e4eb9dd8a471f799666ab21af861a9eaa62bf
1 --- fis.orig/fis.c 2010-05-12 10:22:10.000000000 -0700
2 +++ fis/fis.c 2010-05-12 10:19:24.000000000 -0700
3 @@ -142,8 +142,8 @@
5 static void dump_desc(FILE* f, const struct fis_image_desc* d)
7 - fprintf(f,"%16s: flash addr = 0x%08x, mem addr = 0x%08x, size = 0x%08x, checksum = 0x%08x\n",
8 - d->name, d->flash_base, d->mem_base, d->size, d->file_cksum);
9 + fprintf(f,"%-16s 0x%08x 0x%08x 0x%08x 0x%08x 0x%08x\n",
10 + d->name, d->flash_base, d->mem_base, d->size, d->entry_point, d->file_cksum);
11 for (unsigned int i=0; i<(sizeof(d->skips)/4); ++i) {
12 if (d->skips[i]==0x736b6970 || d->skips[i]==0x70696b73) { // "skip"
13 uint32_t offset = d->skips[i+1];
14 @@ -400,6 +400,7 @@
15 CHECK(fd=open(device,O_RDONLY),-1);
16 dir_t dir;
17 load_dir(fd,offset,&size,swap_endianness,&dir);
18 + fprintf(stdout,"Name FLASH addr Mem addr Length Entry point Checksum\n");
19 FOR_EACH_DIR_ENTRY(dir,i) {
20 dump_desc(stdout,get(i));