summaryrefslogtreecommitdiff
path: root/include/configs/bur_am335x_common.h
diff options
context:
space:
mode:
authorHannes Schmelzer <oe5hpm@oevsv.at>2015-05-28 14:41:54 (GMT)
committerTom Rini <trini@konsulko.com>2015-06-02 16:58:51 (GMT)
commitd8abb46b37fadff0349adb376df6d3ecd09ee7d1 (patch)
tree75d3dc76598206a59d5ee4d1a2b2d6706083391e /include/configs/bur_am335x_common.h
parent42eccdd650915962345daeae831dab183d67511b (diff)
downloadu-boot-d8abb46b37fadff0349adb376df6d3ecd09ee7d1.tar.xz
board/BuR/common: fix netconsole
netconsole had become defective over time and cleanups. Because the feature is used very rarely nobody did take notice about this defect. With this patch the resulting syntax error on call will be fixed. Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Diffstat (limited to 'include/configs/bur_am335x_common.h')
-rw-r--r--include/configs/bur_am335x_common.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/include/configs/bur_am335x_common.h b/include/configs/bur_am335x_common.h
index 99c142a..e28e5ad 100644
--- a/include/configs/bur_am335x_common.h
+++ b/include/configs/bur_am335x_common.h
@@ -17,17 +17,13 @@
"defaultip=192.168.60.253\0" \
"defaultsip=192.168.60.254\0" \
"netconsole=echo switching to network console ...; " \
-"if dhcp; then " \
-"setenv ncip ${serverip}; else " \
-"setenv ncip 192.168.60.254; " \
-"setenv serverip 192.168.60.254; " \
-"setenv gatewayip 192.168.60.254; " \
-"setenv ipaddr 192.168.60.1; " \
-"fi;" \
-"setenv netdisplay0 '" \
-"setcurs 1 9; puts myip; setcurs 10 9; puts ${ipaddr};" \
-"setcurs 1 10;puts serverip; setcurs 10 10; puts ${serverip};" \
-"run netdisplay0; " \
+"if dhcp; then setenv ncip ${serverip}; " \
+"else " \
+"setenv ncip 192.168.60.254; setenv serverip 192.168.60.254; " \
+"setenv gatewayip 192.168.60.254; setenv ipaddr 192.168.60.1; " \
+"fi; " \
+"setcurs 1 9; lcdputs myip; setcurs 10 9; lcdputs ${ipaddr};" \
+"setcurs 1 10;lcdputs serverip; setcurs 10 10; lcdputs ${serverip};" \
"setenv stdout nc;setenv stdin nc;setenv stderr nc\0"
#define CONFIG_CMD_TIME