summaryrefslogtreecommitdiff
path: root/util/ifdtool
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@gmx.at>2018-08-06 00:40:15 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-08-07 07:11:01 +0000
commit27bb066b9ede5af0746a879de2b5ac7455891bcf (patch)
tree555574682a492186ae3a066730e4456da8dd77b8 /util/ifdtool
parent0d22614f468c0722d699a74e130ddbebe05c1798 (diff)
ifdtool: reorder output of JID dumps
Change-Id: I109f620bb644c3979ae297bdf544d295cdbac57f Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at> Reviewed-on: https://review.coreboot.org/27859 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util/ifdtool')
-rw-r--r--util/ifdtool/ifdtool.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c
index 86139e8da5..aa8ff73673 100644
--- a/util/ifdtool/ifdtool.c
+++ b/util/ifdtool/ifdtool.c
@@ -539,12 +539,12 @@ static void dump_fmsba(const fmsba_t *fmsba)
static void dump_jid(uint32_t jid)
{
- printf(" SPI Componend Device ID 1: 0x%02x\n",
- (jid >> 16) & 0xff);
- printf(" SPI Componend Device ID 0: 0x%02x\n",
- (jid >> 8) & 0xff);
printf(" SPI Componend Vendor ID: 0x%02x\n",
jid & 0xff);
+ printf(" SPI Componend Device ID 0: 0x%02x\n",
+ (jid >> 8) & 0xff);
+ printf(" SPI Componend Device ID 1: 0x%02x\n",
+ (jid >> 16) & 0xff);
}
static void dump_vscc(uint32_t vscc)