projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aspeed: Add support for Clocks needed by MACs
[oweals/u-boot.git]
/
cmd
/
cpu.c
diff --git
a/cmd/cpu.c
b/cmd/cpu.c
index b4af64f54f9ffa40966ef56c77941adac7fc11f6..bc4dc5c529b87565c36c7d289e47a7e9533edfd4 100644
(file)
--- a/
cmd/cpu.c
+++ b/
cmd/cpu.c
@@
-14,6
+14,7
@@
static const char *cpu_feature_name[CPU_FEAT_COUNT] = {
"L1 cache",
"MMU",
static const char *cpu_feature_name[CPU_FEAT_COUNT] = {
"L1 cache",
"MMU",
+ "Microcode",
};
static int print_cpu_list(bool detail)
};
static int print_cpu_list(bool detail)
@@
-58,6
+59,12
@@
static int print_cpu_list(bool detail)
}
}
printf("\n");
}
}
printf("\n");
+ if (info.features & (1 << CPU_FEAT_UCODE)) {
+ printf("\tMicrocode version %#x\n",
+ plat->ucode_version);
+ }
+ if (info.features & (1 << CPU_FEAT_DEVICE_ID))
+ printf("\tDevice ID %#lx\n", plat->device_id);
}
return 0;
}
return 0;