summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Semjonovs <asemjonovs@google.com>2023-02-24 07:44:45 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-02-24 17:29:26 +0000
commit521ff2e2ad382223ffbfec47d5bd1f17df9d0c82 (patch)
treebe27bf96612518effe8fa337f5d70c06cd3a8855
parentf34bcdc53cf6a874ef67b4a93331261390bae013 (diff)
downloadchrome-ec-521ff2e2ad382223ffbfec47d5bd1f17df9d0c82.tar.gz
zephyr: Make sure EEPROM is initialized after I2C bus
Upstream changed the order of initialization of devices. Make sure I2C is initialized before EEPROM. BUG=None BRANCH=NONE TEST=./twister -T zephyr/test Cq-Depend: chromium:4280782 Change-Id: Iff57ee114cbaa258b6c4a91ac1863e0546c997da Signed-off-by: Al Semjonovs <asemjonovs@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4290234 Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
-rw-r--r--zephyr/Kconfig.init_priority3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/Kconfig.init_priority b/zephyr/Kconfig.init_priority
index 42d03e8794..421e8f7019 100644
--- a/zephyr/Kconfig.init_priority
+++ b/zephyr/Kconfig.init_priority
@@ -26,3 +26,6 @@ config PLATFORM_EC_PWM_INIT_PRIORITY
Sets the initialization priority of the PWM module. This MUST be a
value greater than the PWM driver's initialization priority which
currently defaults to KERNEL_INIT_PRIORITY_DEVICE.
+
+config EEPROM_INIT_PRIORITY
+ default 70