common: board_r: add console_record_reset_enable() call
It's fine to call it by initr_console_record() since initr malloc was setup. Change-Id: I2de9f0bf76499e5c04d4ce57aa48800d6a6151db Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
4f92923ecc
commit
8626b64732
|
|
@ -256,7 +256,12 @@ static int initr_malloc(void)
|
|||
static int initr_console_record(void)
|
||||
{
|
||||
#if defined(CONFIG_CONSOLE_RECORD)
|
||||
return console_record_init();
|
||||
int ret;
|
||||
|
||||
ret = console_record_init();
|
||||
if (!ret)
|
||||
console_record_reset_enable();
|
||||
return ret;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue