diff options
Diffstat (limited to 'common/stdio.c')
| -rw-r--r-- | common/stdio.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/common/stdio.c b/common/stdio.c index 605ff3fde..97ff9cf4a 100644 --- a/common/stdio.c +++ b/common/stdio.c @@ -135,7 +135,6 @@ struct stdio_dev* stdio_clone(struct stdio_dev *dev)  		return NULL;  	memcpy(_dev, dev, sizeof(struct stdio_dev)); -	strncpy(_dev->name, dev->name, 16);  	return _dev;  } @@ -237,6 +236,8 @@ int stdio_init (void)  #ifdef CONFIG_JTAG_CONSOLE  	drv_jtag_console_init ();  #endif - +#ifdef CONFIG_CBMEM_CONSOLE +	cbmemc_init(); +#endif  	return (0);  } |