cmd: ufetch: Show CPU architecture under "CPU"
authorJ. Neuschäfer <j.ne@posteo.net>
Wed, 11 Dec 2024 22:25:27 +0000 (23:25 +0100)
committerCaleb Connolly <caleb.connolly@linaro.org>
Wed, 22 Jan 2025 15:43:54 +0000 (16:43 +0100)
commit3db33a6fd69078c5b77b32fe7eaede4ec08a9471
treed369edda42543257eb39289ff85d40ff34818e98
parentc38d5bad35078c9e6c38f1c84b366fddd75af302
cmd: ufetch: Show CPU architecture under "CPU"

When looking at ufetch output it isn't immediately obvious which CPU
architecture the presented board has. This patch therefore adds the
CPU architecture string (for example "powerpc") to the "CPU:" line.
The new format is:

CPU: powerpc (1 cores, 1 in use)

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20241211-ufetch-v2-3-2b5432ffaeb1@posteo.net
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
cmd/ufetch.c