@@ -101,7 +101,7 @@ partition_parse_gpt_header(const char *buffer, struct gpt_header* header)
101101
102102droidboot_error droidboot_parse_gpt_on_sd ()
103103{
104- droidboot_log (DROIDBOOT_LOG_INFO , "Entefr droidboot_parse_gpt_on_sd\n" );
104+ droidboot_log (DROIDBOOT_LOG_INFO , "Enter droidboot_parse_gpt_on_sd\n" );
105105 abm_settings_blkcnt = 0 ;
106106#ifdef DROIDBOOT_NO_SD_SUPPORT
107107 userdata_blkcnt = 0 ;
@@ -125,7 +125,7 @@ droidboot_error droidboot_parse_gpt_on_sd()
125125 return DROIDBOOT_ENOENT ;
126126 }
127127
128- droidboot_log (DROIDBOOT_LOG_INFO , "SD card blkhlen : %d, blkcnt: %d\n" , droidboot_sd_blklen (), droidboot_sd_blkcnt ());
128+ droidboot_log (DROIDBOOT_LOG_INFO , "SD card blklen : %d, blkcnt: %d\n" , droidboot_sd_blklen (), droidboot_sd_blkcnt ());
129129
130130
131131 // get a dma aligned and padded block to read info
@@ -152,7 +152,6 @@ droidboot_error droidboot_parse_gpt_on_sd()
152152 /* validate each of the partition entries */
153153 for (i = 0 ; i < 4 ; i ++ ) {
154154 if (validate_mbr_partition (& part [i ]) >= 0 ) {
155- // TODO: do something wit this partition
156155 /* Type 0xEE indicates end of MBR and GPT partitions exist */
157156 if (part [i ].type == 0xee ) {
158157 gpt_partitions_exist = 1 ;
@@ -243,7 +242,6 @@ droidboot_error droidboot_parse_gpt_on_sd()
243242 }
244243#endif
245244 //droidboot_log(DROIDBOOT_LOG_INFO, "got part!!!!!!!!!!!!!! '%s' size=%llu!, first lba: %d\n", name, size, first_lba);
246- // TODO: So something with this part
247245 }
248246 }
249247
0 commit comments