[target][zybo] create bootloader patition if it doesn't exist

This commit is contained in:
Brian Swetland
2014-08-05 18:16:11 -07:00
parent e81ac4155a
commit 070fb64dfd

View File

@@ -56,6 +56,9 @@ void target_init(void)
ptable_find("sysparam", &entry);
}
/* create bootloader partition if it does not exist */
ptable_add("bootloader", 0x20000, 0x40000, 0);
printf("flash partition table:\n");
ptable_dump();