Lines Matching full:fcb
21 uint32_t fcb[128]; member
68 if (hdr->fcb[1] != 0x46434220) in vybridimage_verify_header()
70 if (hdr->fcb[2] != 1) in vybridimage_verify_header()
72 if (hdr->fcb[7] != 64) in vybridimage_verify_header()
74 if (hdr->fcb[14] != 6) in vybridimage_verify_header()
76 if (hdr->fcb[30] != 0x0001ff00) in vybridimage_verify_header()
78 if (hdr->fcb[43] != 1) in vybridimage_verify_header()
80 if (hdr->fcb[54] != 0) in vybridimage_verify_header()
82 if (hdr->fcb[55] != 8) in vybridimage_verify_header()
103 memset(&hdr->fcb[0], 0x0, 56*sizeof(uint32_t)); in vybridimage_set_header()
104 memset(&hdr->fcb[56], 0xff, 72*sizeof(uint32_t)); in vybridimage_set_header()
111 /* populate fcb */ in vybridimage_set_header()
112 hdr->fcb[1] = 0x46434220; /* signature */ in vybridimage_set_header()
113 hdr->fcb[2] = 0x00000001; /* version */ in vybridimage_set_header()
114 hdr->fcb[5] = 2048; /* page size */ in vybridimage_set_header()
115 hdr->fcb[6] = (2048+64); /* page + OOB size */ in vybridimage_set_header()
116 hdr->fcb[7] = 64; /* pages per block */ in vybridimage_set_header()
117 hdr->fcb[14] = 6; /* ECC mode 6 */ in vybridimage_set_header()
118 hdr->fcb[26] = 128; /* fw address (0x40000) in 2K pages */ in vybridimage_set_header()
119 hdr->fcb[27] = 128; /* fw address (0x40000) in 2K pages */ in vybridimage_set_header()
120 hdr->fcb[30] = 0x0001ff00; /* DBBT search area start address */ in vybridimage_set_header()
121 hdr->fcb[33] = 2048; /* BB marker physical offset */ in vybridimage_set_header()
122 hdr->fcb[43] = 1; /* DISBBM */ in vybridimage_set_header()
123 hdr->fcb[54] = 0; /* DISBB_Search */ in vybridimage_set_header()
124 hdr->fcb[55] = 8; /* Bad block search limit */ in vybridimage_set_header()
134 printf("header.fcb[%d] = %08x\n", idx, hdr->fcb[idx]); in vybridimage_print_hdr_field()