blob: 8076076467f536ca07dde23e052170a48ac6be6f [file] [log] [blame]
#include "mbtk_mtd.h"
int main(int argc, char *argv[])
{
mbtk_partition_info_t *partition_info = mbtk_partition_get();
if(partition_info != NULL) {
int i = 0;
while(i < MBTK_PARTITION_NUM_MAX) {
if(partition_info[i].used) {
printf("%s(%s) : %08x %08x\n", partition_info[i].name, partition_info[i].dev,
partition_info[i].partition_start, partition_info[i].partition_size);
}
i++;
}
}
return 0;
}