soc/intel/common: Make common cpu_cl_clear_data() weak
Not all SOC follow the same programming to clear crashlog data. So make common implementation of cpu_cl_clear_data() weak. BUG=b:262501347 TEST=Able to build google/rex. Change-Id: Ic2b4631d57703abff0ab1880fb272ef67bb1b8e9 Signed-off-by: Pratikkumar Prajapati <pratikkumar.v.prajapati@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77237 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
parent
ab1605e91b
commit
42258e399d
|
@ -149,7 +149,7 @@ int cpu_cl_mailbox_cmd(u8 cmd, u8 param)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cpu_cl_clear_data(void)
|
int __weak cpu_cl_clear_data(void)
|
||||||
{
|
{
|
||||||
return cpu_cl_mailbox_cmd(CPU_CRASHLOG_CMD_CLEAR, 0);
|
return cpu_cl_mailbox_cmd(CPU_CRASHLOG_CMD_CLEAR, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue