cmd_log: print log->v2.con value in the "log info" command
authorHeiko Schocher <hs@denx.de>
Tue, 14 Feb 2012 22:21:07 +0000 (22:21 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 30 Mar 2012 20:32:50 +0000 (22:32 +0200)
print in the "log info" command, if "log_version = 2" also the
value from "log->v2.con".

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
common/cmd_log.c

index c99783704fb87576622c83b6b36b32eb743e5fa3..ee291c1b4da36633021b50b8daa6ef8fc24bf6e6 100644 (file)
@@ -236,6 +236,7 @@ int do_log(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                                printf("log_start    =  %08lx\n",
                                        log->v2.start);
                                printf("log_end      =  %08lx\n", log->v2.end);
+                               printf("log_con      =  %08lx\n", log->v2.con);
                                printf("logged_chars =  %08lx\n",
                                        log->v2.chars);
                        }