diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h
index 00aab6b3d51d734abc234e59d1daf5f7932e8dcc..b4466bc3b4c8f0cc954ca47e9e2d0a770c629831 100644
--- a/include/configs/sbc8641d.h
+++ b/include/configs/sbc8641d.h
@@ -494,6 +494,7 @@
  */
 #define CONFIG_SYS_LONGHELP			/* undef to save memory	*/
 #define CONFIG_SYS_LOAD_ADDR	0x2000000	/* default load address */
+#define CONFIG_CMDLINE_EDITING	1		/* add command line history */
 
 #if defined(CONFIG_CMD_KGDB)
     #define CONFIG_SYS_CBSIZE	1024		/* Console I/O Buffer Size */