dprintf instead of printf

This commit is contained in:
Gianguido Sora` committed 2018-03-05 15:19:48 +01:00
1 parent e5709e8dcd
commit 823a186307
1 file changed
+3 -4
+3 -4
View File
@@ -54,13 +54,12 @@ void target_init()
display_init();
// TODO: remember to remove these printf()'s
printf("scratch: 0x%x\n", target_get_scratch_address());
printf("display init done\n");
dprintf(INFO, "scratch: 0x%x\n", target_get_scratch_address());
dprintf(INFO, "display init done\n");
slot = 2;
base_addr = mmc_sdc_base[slot-1];
mmc_boot_main(slot, base_addr);
printf("done loading from mmc\n");
dprintf(INFO, "done loading from mmc\n");
}
void reboot_device(unsigned reboot_reason)