drivers: esoc: mdm: Set boot fail action to NOP
* This is useful since it should allow preventing a kernel panic and a full system restart when the modem fails to bootup Change-Id: I5f653c15e6f31b1a96cf4f9c8c17089289c82505
This commit is contained in:
committed by
Sebastiano Barezzi
parent
80ebe765e9
commit
d8aeb954db
@@ -17,7 +17,11 @@
|
|||||||
|
|
||||||
#define ESOC_MAX_PON_TRIES 5
|
#define ESOC_MAX_PON_TRIES 5
|
||||||
|
|
||||||
|
#ifdef CONFIG_MACH_XIAOMI_SM8250
|
||||||
|
#define BOOT_FAIL_ACTION_DEF BOOT_FAIL_ACTION_NOP
|
||||||
|
#else
|
||||||
#define BOOT_FAIL_ACTION_DEF BOOT_FAIL_ACTION_PANIC
|
#define BOOT_FAIL_ACTION_DEF BOOT_FAIL_ACTION_PANIC
|
||||||
|
#endif
|
||||||
|
|
||||||
enum esoc_pon_state {
|
enum esoc_pon_state {
|
||||||
PON_INIT,
|
PON_INIT,
|
||||||
|
|||||||
Reference in New Issue
Block a user