microblaze: Enable netconsole
authorMichal Simek <monstr@monstr.eu>
Thu, 10 Jun 2010 13:46:04 +0000 (15:46 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Apr 2013 09:22:39 +0000 (11:22 +0200)
Setup environment and enable netconsole.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@ti.com>
include/configs/microblaze-generic.h

index d172e56bcfca55f53d81987c6fc9e3036c3b4a28..8c0353a15db95b9967e2ab8c421fb5041aadb623 100644 (file)
                                        "nor0=flash-0\0"\
                                        "mtdparts=mtdparts=flash-0:"\
                                        "256k(u-boot),256k(env),3m(kernel),"\
-                                       "1m(romfs),1m(cramfs),-(jffs2)\0"
+                                       "1m(romfs),1m(cramfs),-(jffs2)\0"\
+                                       "nc=setenv stdout nc;"\
+                                       "setenv stdin nc\0" \
+                                       "serial=setenv stdout serial;"\
+                                       "setenv stdin serial\0"
 
 #define CONFIG_CMDLINE_EDITING
 
+#define CONFIG_NETCONSOLE
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+
 /* Use the HUSH parser */
 #define CONFIG_SYS_HUSH_PARSER