Skip to contentSkip to conversation

TQM8xx* boards: set larger SMC Rx buffer len

PATCH New Wolfgang Denk 1 participant 1 message Jul 28, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TQM8xx* boards: set larger SMC Rx buffer len

Commit 2b3f12c2 added support for configurable SMC Rx buffer length on 8xx systems. Enable this feature on TQM8xx* based boards.

This fixes the problem that pasting text in the middle of a line (i. e. inserting in edit mode) did not work - only the first two characters got inserted, the rest was lost.

---
 include/configs/FPS850L.h  |    4 ++--
 include/configs/FPS860L.h  |    4 ++--
 include/configs/HMI10.h    |    4 ++--
 include/configs/NSCU.h     |    2 ++
 include/configs/SM850.h    |    8 ++------
 include/configs/TK885D.h   |    3 ++-
 include/configs/TQM823L.h  |    4 ++--
 include/configs/TQM823M.h  |    4 ++--
 include/configs/TQM850L.h  |    4 ++--
 include/configs/TQM850M.h  |    4 ++--
 include/configs/TQM855L.h  |    5 ++---
 include/configs/TQM855M.h  |    5 ++---
 include/configs/TQM860L.h  |    5 ++---
 include/configs/TQM860M.h  |    5 ++---
 include/configs/TQM862L.h  |    5 ++---
 include/configs/TQM862M.h  |    5 ++---
 include/configs/TQM866M.h  |    3 ++-
 include/configs/TQM885D.h  |    3 ++-
 include/configs/virtlab2.h |    4 ++--
 19 files changed, 38 insertions(+), 43 deletions(-)
include/configs/FPS850L.h +2 -2
index aceecd8..1190656 100644
@@ -36,9 +36,9 @@
 #define CONFIG_MPC850		1	/* This is a MPC850 CPU		*/
 #define CONFIG_FPS850L		1	/* ...on a FingerPrint Sensor	*/
 
-#undef	CONFIG_8xx_CONS_SMC1
 #define	CONFIG_8xx_CONS_SMC2	1	/* Console is on SMC2		*/
-#undef	CONFIG_8xx_CONS_NONE
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/FPS860L.h +2 -2
index 4a61d7c..73bcccc 100644
@@ -36,9 +36,9 @@
 #define CONFIG_MPC860		1	/* This is a MPC860 CPU		*/
 #define CONFIG_FPS860L		1	/* ...on a FingerPrint Sensor	*/
 
-#undef	CONFIG_8xx_CONS_SMC1
 #define	CONFIG_8xx_CONS_SMC2	1	/* Console is on SMC2		*/
-#undef	CONFIG_8xx_CONS_NONE
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/HMI10.h +2 -2
index 6c8e81f..88e1946 100644
@@ -45,8 +45,8 @@
 #endif
 
 #define CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define CONFIG_PS2KBD			/* AT-PS/2 Keyboard		*/
include/configs/NSCU.h +2 -0
index 6abd3f1..5dd72ff 100644
@@ -38,6 +38,8 @@
 #define CONFIG_NSCU		1
 
 #define	CONFIG_8xx_CONS_SCC1	1	/* Console is on SMC1		*/
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 
 #define	CONFIG_66MHz		1	/* running at 66 MHz, 1:1 clock	*/
 
include/configs/SM850.h +2 -6
index 4c469e3..7266f9a 100644
@@ -38,15 +38,11 @@
 #define CONFIG_MPC850		1	/* This is a MPC850 CPU		*/
 #define CONFIG_SM850		1	/*...on a MPC850 Service Module	*/
 
-#undef	CONFIG_8xx_CONS_SMC1	/* SMC1 not usable because Ethernet on SCC3 */
 #define	CONFIG_8xx_CONS_SMC2	1	/* Console is on SMC2		*/
-#undef	CONFIG_8xx_CONS_NONE
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200
-#if 0
-#define CONFIG_BOOTDELAY	-1	/* autoboot disabled		*/
-#else
 #define CONFIG_BOOTDELAY	5	/* autoboot after 5 seconds	*/
-#endif
 
 #define	CONFIG_CLOCKS_IN_MHZ	1	/* clocks passsed to Linux in MHz */
 
include/configs/TK885D.h +2 -1
index 14ff62c..1e6d9ce 100644
@@ -48,7 +48,8 @@
 						/* 'cpuclk' variable with valid value)	*/
 
 #define CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM823L.h +2 -2
index 1f816f3..966beae 100644
@@ -43,8 +43,8 @@
 #endif
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM823M.h +2 -2
index 42dcbfc..cfa693d 100644
@@ -41,8 +41,8 @@
 #endif
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM850L.h +2 -2
index 290e211..dc0498e 100644
@@ -37,8 +37,8 @@
 #define CONFIG_TQM850L		1	/* ...on a TQM8xxL module	*/
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM850M.h +2 -2
index 2170df5..cdabc53 100644
@@ -37,8 +37,8 @@
 #define CONFIG_TQM850M		1	/* ...on a TQM8xxM module	*/
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM855L.h +2 -3
index 3d7dc42..1255928 100644
@@ -37,9 +37,8 @@
 #define CONFIG_TQM855L		1	/* ...on a TQM8xxL module	*/
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
-
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM855M.h +2 -3
index 35cfa08..584d40b 100644
@@ -37,9 +37,8 @@
 #define CONFIG_TQM855M		1	/* ...on a TQM8xxM module	*/
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
-
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM860L.h +2 -3
index 4ac485d..a772a27 100644
@@ -37,9 +37,8 @@
 #define CONFIG_TQM860L		1	/* ...on a TQM8xxL module	*/
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
-
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM860M.h +2 -3
index 39da0bb..7c34786 100644
@@ -37,9 +37,8 @@
 #define CONFIG_TQM860M		1	/* ...on a TQM8xxM module	*/
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
-
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM862L.h +2 -3
index 1f79b17..75d2dac 100644
@@ -40,9 +40,8 @@
 #define CONFIG_TQM862L		1	/* ...on a TQM8xxL module	*/
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
-
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM862M.h +2 -3
index 86d5b01..0c7aacd 100644
@@ -40,9 +40,8 @@
 #define CONFIG_TQM862M		1	/* ...on a TQM8xxM module	*/
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
-
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM866M.h +2 -1
index 04f538c..071afd4 100644
@@ -51,7 +51,8 @@
 #endif
 
 #define CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define CONFIG_BOOTCOUNT_LIMIT
include/configs/TQM885D.h +2 -1
index 4c80bad..d435819 100644
@@ -47,7 +47,8 @@
 						/* 'cpuclk' variable with valid value)	*/
 
 #define CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define CONFIG_BOOTCOUNT_LIMIT
include/configs/virtlab2.h +2 -2
index 9ebafcc..f7813a1 100644
@@ -38,8 +38,8 @@
 #define	CONFIG_TQM8xxL		1
 
 #define	CONFIG_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
-#undef	CONFIG_8xx_CONS_SMC2
-#undef	CONFIG_8xx_CONS_NONE
+#define CONFIG_SYS_SMC_RXBUFLEN	128
+#define CONFIG_SYS_MAXIDLE	10
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 
 #define	CONFIG_BOOTCOUNT_LIMIT
Signature · 1 line
1.6.0.6