arch: x86: make sys_arch_reboot as weak function
Intel ISH SoC can't reboot via RST_CNT register, so make sys_arch_reboot as weak function to allow implement different arch reboot in SoC layer. Signed-off-by: Dong Wang <dong.d.wang@intel.com> Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
This commit is contained in:
parent
3ee2b4c31a
commit
a638223df3
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ static inline void cold_reboot(void)
|
|||
sys_out8(reset_value, X86_RST_CNT_REG);
|
||||
}
|
||||
|
||||
void sys_arch_reboot(int type)
|
||||
void __weak sys_arch_reboot(int type)
|
||||
{
|
||||
switch (type) {
|
||||
case SYS_REBOOT_COLD:
|
||||
|
|
|
|||
Loading…
Reference in a new issue