Add a brief mode for trace output

The log with -b|--brief will look like this:

0x5a @ 0x00000000 (read SFDP)
0x5a @ 0x00000008 (read SFDP)
0x5a @ 0x00000030 (read SFDP)
0xb7 (enter 4b mode)
0x03 @ 0x00000010 (read)
0x03 @ 0x00000014 (read)
0x03 @ 0x00000030 (read)
0x03 @ 0x00000040 (read)

Instead of this:

Time: 000000.00000000 command # 1      : 0x5a - read SFDP Table
00000000 : 53 46 44 50 00 01 01 ff
Time: 000000.00000575 command # 2      : 0x5a - read SFDP Table
00000008 : 00 00 01 09 30 00 00 ff
Time: 000000.00001149 command # 3      : 0x5a - read SFDP Table
00000030 : e5 20 f3 ff ff ff ff 0f 44 eb 08 6b 08 3b 04 bb
Time: 000000.00002053 command # 4      : 0xb7 - enter 4-byte address mode
Time: 000000.00002687 command # 5      : 0x03 - read
00000000 : 10 5a a5 f0 0f
Time: 000000.00003088 command # 6      : 0x03 - read
00000000 : 14 03 00 04 05 06 03 10 15 20 01 21 26
Time: 000000.00003825 command # 7      : 0x03 - read
00000000 : 30 f5 00 00 00 00 00 00 00 00 00 00 00
Time: 000000.00004569 command # 8      : 0x03 - read
00000000 : 40 00 00 00 00 00 08 ff 0f 23 00 ff 07 01 00 02
00000010 : 00 03 00 12 00 13 00 22 00 ff 7f 00 00


Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Change-Id: Icdaa3444bba03be8bf122239fd6da805cf840e52
Reviewed-on: https://review.coreboot.org/c/em100/+/48728
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: ron minnich <rminnich@gmail.com>
3 files changed