diff options
author | Tim Lin <tim2.lin@ite.corp-partner.google.com> | 2022-01-19 14:56:03 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-20 08:01:15 +0000 |
commit | 33003282fc9156166b50491764b8f5e8e1354cf9 (patch) | |
tree | 41bb93210c476c4b3fbf47bd98eae0a8818870a8 | |
parent | d467c1eb7dee2a80df48c5ea549001aecb282c85 (diff) | |
download | chrome-ec-33003282fc9156166b50491764b8f5e8e1354cf9.tar.gz |
zephyr: flash: it8xxx2: lower cros_flash priority
CL:3398577 changed driver layer priority, so cros_flash_it8xxx2
should be lowered.
BUG=none
BRANCH=none
TEST=Boot normally on it8xxx2_evb and hayato.
zmake -lDEBUG configure -b zephyr/projects/it8xxx2_evb/
zmake -lDEBUG configure -b zephyr/projects/asurada/hayato/
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Change-Id: I3509508c85d2fd55b74596c87e27d1bf4044e50d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3400761
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
-rw-r--r-- | zephyr/drivers/cros_flash/cros_flash_it8xxx2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/drivers/cros_flash/cros_flash_it8xxx2.c b/zephyr/drivers/cros_flash/cros_flash_it8xxx2.c index 01e5c1f721..9784109fb2 100644 --- a/zephyr/drivers/cros_flash/cros_flash_it8xxx2.c +++ b/zephyr/drivers/cros_flash/cros_flash_it8xxx2.c @@ -313,5 +313,5 @@ static int flash_it8xxx2_init(const struct device *dev) static struct cros_flash_it8xxx2_data cros_flash_data; DEVICE_DT_INST_DEFINE(0, flash_it8xxx2_init, NULL, &cros_flash_data, NULL, - PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, + POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &cros_flash_it8xxx2_driver_api); |