pci: Fix showing registers
authorPali Rohár <pali@kernel.org>
Thu, 7 Oct 2021 12:51:01 +0000 (14:51 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Oct 2021 23:45:07 +0000 (19:45 -0400)
commit43dad07cd45dba129487a8dc55de9f4f850ae7d7
treec1dd0b4ea2e9719c22af0accd2cca2d9fc20ed8f
parente6335d3eaafc60b74bd05761b2bf0e57ad429aa7
pci: Fix showing registers

Header type is 7-bit number so use all 7 bits when detecting header type
and not only 2 bits.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
cmd/pci.c