diff options
Diffstat (limited to 'chip/lm4/lpc.c')
-rw-r--r-- | chip/lm4/lpc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chip/lm4/lpc.c b/chip/lm4/lpc.c index d40efbf26a..13e169c819 100644 --- a/chip/lm4/lpc.c +++ b/chip/lm4/lpc.c @@ -662,7 +662,11 @@ static int lpc_init(void) return EC_SUCCESS; } -DECLARE_HOOK(HOOK_INIT, lpc_init, HOOK_PRIO_DEFAULT); +/* + * Set prio to higher than default so other inits can initialize their + * memmap data. + */ +DECLARE_HOOK(HOOK_INIT, lpc_init, HOOK_PRIO_DEFAULT - 1); static int lpc_resume(void) |