Skip to content
Snippets Groups Projects
Commit 05e7825e authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: only check for os log when we have external memory


If the part has no external memory configured, then there will be no os
log for us to check, and any attempt to access that memory will trigger
hardware errors.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 164d04f4
No related branches found
No related tags found
No related merge requests found
......@@ -390,7 +390,7 @@ void board_init_r(gd_t * id, ulong dest_addr)
post_run(NULL, POST_RAM | post_bootmode_get(0));
#endif
if (bfin_os_log_check()) {
if (CONFIG_MEM_SIZE && bfin_os_log_check()) {
puts("\nLog buffer from operating system:\n");
bfin_os_log_dump();
puts("\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment