mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-06 06:21:51 +00:00
cpu: mpc83xx: Remove unnecessary characters in the description string
The description string should not contain unnecessary characters, like the ending '\n' or the leading 'CPU:'. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ecfe66330d
commit
6fe8abcce7
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ static int mpc83xx_cpu_get_desc(struct udevice *dev, char *buf, int size)
|
||||||
determine_cpu_data(dev);
|
determine_cpu_data(dev);
|
||||||
|
|
||||||
snprintf(buf, size,
|
snprintf(buf, size,
|
||||||
"CPU: %s, MPC%s%s%s, Rev: %d.%d at %s MHz, CSB: %s MHz\n",
|
"%s, MPC%s%s%s, Rev: %d.%d at %s MHz, CSB: %s MHz",
|
||||||
e300_names[priv->e300_type],
|
e300_names[priv->e300_type],
|
||||||
cpu_type_names[priv->type],
|
cpu_type_names[priv->type],
|
||||||
priv->is_e_processor ? "E" : "",
|
priv->is_e_processor ? "E" : "",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue