aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Meng2018-10-11 00:06:56 -0500
committerSimon Glass2018-11-14 11:16:27 -0600
commit6fe8abcce740a67e81fb6115f54dba380bd2ff4d (patch)
treeb45f85ee729806671059f08338c44d144f2d09b9 /drivers
parentecfe66330d3093b701a26363470c0b6a32a02d89 (diff)
downloadu-boot-6fe8abcce740a67e81fb6115f54dba380bd2ff4d.tar.gz
u-boot-6fe8abcce740a67e81fb6115f54dba380bd2ff4d.tar.xz
u-boot-6fe8abcce740a67e81fb6115f54dba380bd2ff4d.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpu/mpc83xx_cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpu/mpc83xx_cpu.c b/drivers/cpu/mpc83xx_cpu.c
index 31717afaec..7bc86bf9b2 100644
--- a/drivers/cpu/mpc83xx_cpu.c
+++ b/drivers/cpu/mpc83xx_cpu.c
@@ -262,7 +262,7 @@ static int mpc83xx_cpu_get_desc(struct udevice *dev, char *buf, int size)
262 determine_cpu_data(dev); 262 determine_cpu_data(dev);
263 263
264 snprintf(buf, size, 264 snprintf(buf, size,
265 "CPU: %s, MPC%s%s%s, Rev: %d.%d at %s MHz, CSB: %s MHz\n", 265 "%s, MPC%s%s%s, Rev: %d.%d at %s MHz, CSB: %s MHz",
266 e300_names[priv->e300_type], 266 e300_names[priv->e300_type],
267 cpu_type_names[priv->type], 267 cpu_type_names[priv->type],
268 priv->is_e_processor ? "E" : "", 268 priv->is_e_processor ? "E" : "",