summaryrefslogtreecommitdiff
path: root/include/configs/microblaze-generic.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-06-10 15:46:04 +0200
committerMichal Simek <michal.simek@xilinx.com>2013-04-30 11:22:39 +0200
commit783764521e29955643bbe30d64d17110ed57a888 (patch)
treee9da6b2c0d87ba189817cc7fa1d4a53d3cd17215 /include/configs/microblaze-generic.h
parentb364727abb5aa32120f583a9611944c2444f6b41 (diff)
downloadu-boot-imx-783764521e29955643bbe30d64d17110ed57a888.zip
u-boot-imx-783764521e29955643bbe30d64d17110ed57a888.tar.gz
u-boot-imx-783764521e29955643bbe30d64d17110ed57a888.tar.bz2
microblaze: Enable netconsole
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>
Diffstat (limited to 'include/configs/microblaze-generic.h')
-rw-r--r--include/configs/microblaze-generic.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index d172e56..8c0353a 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