arm_adi_v5: Rewrite dap_rom_display
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 29 Dec 2015 10:56:16 +0000 (11:56 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Thu, 25 Feb 2016 19:21:13 +0000 (19:21 +0000)
commitca86cd6128b6b2753d4881dba2142179d56c454e
tree047f40bd348a1f636a7d6917e816656db0761ce7
parent849f69b2e93d9c7330cb5a77efd1db12a450fd4c
arm_adi_v5: Rewrite dap_rom_display

Simplify by printing one component per call, instead of one complete ROM
Table per call. Print common information the same way for all components,
including ROM tables, because ROM tables (at least the top level) contain
useful information in their identification registers, such as the
manufacturer of the SoC.

Print component designer name using the JEP106 helper when available.

Change-Id: Ic51bccd98acfae6886243500153fbdd567be2fae
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3182
Tested-by: jenkins
Reviewed-by: Jiri Kastner <cz172638@gmail.com>
Reviewed-by: James Mastros <james@mastros.biz>
src/target/arm_adi_v5.c