From: Michal Simek Date: Thu, 10 Jun 2010 13:46:04 +0000 (+0200) Subject: microblaze: Enable netconsole X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=783764521e29955643bbe30d64d17110ed57a888;p=u-boot.git microblaze: Enable netconsole Setup environment and enable netconsole. Signed-off-by: Michal Simek Signed-off-by: Michal Simek Reviewed-by: Tom Rini --- diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index d172e56bcf..8c0353a15d 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -414,10 +414,17 @@ "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