Merge tag 'rpi-next-2020.07.2' of https://gitlab.denx.de/u-boot/custodians/u-boot...
[oweals/u-boot.git] / drivers / cpu / mpc83xx_cpu.c
index 31717afaec4f899328a63ac9a49847e9653f612c..f8a84bae9d98553d9bb345b18f6a8236b9804272 100644 (file)
@@ -9,6 +9,9 @@
 #include <clk.h>
 #include <cpu.h>
 #include <dm.h>
+#include <log.h>
+#include <vsprintf.h>
+#include <linux/bitops.h>
 
 #include "mpc83xx_cpu.h"
 
@@ -262,7 +265,7 @@ static int mpc83xx_cpu_get_desc(struct udevice *dev, char *buf, int size)
        determine_cpu_data(dev);
 
        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],
                 cpu_type_names[priv->type],
                 priv->is_e_processor ? "E" : "",