[zynq-common] squelch a little bit of debug spew when compiling at lower debug levels

This commit is contained in:
Travis Geiselbrecht
2015-05-02 22:47:33 -07:00
parent 9fcf5cffaa
commit 5b830de81f
2 changed files with 6 additions and 2 deletions

View File

@@ -74,20 +74,24 @@ static void zybo_common_target_init(uint level)
}
#endif
#if LK_DEBUGLEVEL > 1
sysparam_dump(true);
#endif
}
/* create bootloader partition if it does not exist */
ptable_add("bootloader", 0x20000, 0x40000, 0);
#if LK_DEBUGLEVEL > 1
printf("flash partition table:\n");
ptable_dump();
#endif
}
/* recover boot arguments */
const char *cmdline = bootargs_get_command_line();
if (cmdline) {
printf("command line: '%s'\n", cmdline);
printf("lk command line: '%s'\n", cmdline);
}
/* see if we came from a bootimage */