microblaze: Remove early printk setup
authorMichal Simek <michal.simek@xilinx.com>
Mon, 20 Jan 2020 11:26:12 +0000 (12:26 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 25 Feb 2020 11:33:19 +0000 (12:33 +0100)
Early printk has been removed already that's why this setting doesn't make
any sense. Also change printk level from pr_info to pr_err.

Fixes: 96f0e6fcc9ad ("microblaze: remove redundant early_printk support")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Stefan Asserhall <stefan.asserhall@xilinx.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c

index a32daec96c1231d3369fc0240c5fd8476e4f6d5e..c7ee51b0900e699493ef1eec0f84278e2f39da50 100644 (file)
 
 #define CI(c, p) { ci->c = PVR_##p(pvr); }
 
-#if defined(CONFIG_EARLY_PRINTK) && defined(CONFIG_SERIAL_UARTLITE_CONSOLE)
 #define err_printk(x) \
-       early_printk("ERROR: Microblaze " x "-different for PVR and DTS\n");
-#else
-#define err_printk(x) \
-       pr_info("ERROR: Microblaze " x "-different for PVR and DTS\n");
-#endif
+       pr_err("ERROR: Microblaze " x "-different for PVR and DTS\n");
 
 void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu)
 {