mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Merge "qca: Disabling dcache before scheduling secondary cores"
This commit is contained in:
commit
e703375fa3
1 changed files with 4 additions and 0 deletions
|
|
@ -106,6 +106,8 @@ int do_runmulticore(cmd_tbl_t *cmdtp,
|
|||
if ((argc <= 1) || (argc > 4))
|
||||
return CMD_RET_USAGE;
|
||||
|
||||
dcache_disable();
|
||||
|
||||
/* Setting up stack for secondary cores */
|
||||
memset(core, 0, sizeof(core));
|
||||
|
||||
|
|
@ -204,6 +206,8 @@ int do_runmulticore(cmd_tbl_t *cmdtp,
|
|||
free(core[i - 1].stack_top_ptr);
|
||||
}
|
||||
|
||||
dcache_enable();
|
||||
|
||||
return CMD_RET_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue