mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-09 18:58:18 +01:00
qca: Disabling dcache before scheduling secondary cores
Disabling dcache before scheduling secondary cores and enabling it back after the cores are down. Change-Id: I73011db903a0da1113d09fb8306b8d3f940ece60 Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
parent
7d93e5bcac
commit
9b5374d10a
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