Commit cfbd8d19 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Remove early printk setup



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: 96f0e6fc ("microblaze: remove redundant early_printk support")
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: default avatarStefan Asserhall <stefan.asserhall@xilinx.com>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 59d85c0a
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -22,13 +22,8 @@

#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)
{