summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.init_priority
Commit message (Collapse)AuthorAgeFilesLines
* Update license boilerplate text in source code filesMike Frysinger2022-09-121-1/+1
| | | | | | | | | | | | | | | Normally we don't do this, but enough changes have accumulated that we're doing a tree-wide one-off update of the name & style. BRANCH=none BUG=chromium:1098010 TEST=`repo upload` works Change-Id: Icd3a1723c20595356af83d190b2c6a9078b3013b Signed-off-by: Mike Frysinger <vapier@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891203 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* zephyr: mchp: Add cros_flash drivermartin yan2022-01-241-0/+1
| | | | | | | | | | | | | Add cros_flash driver and related configs BUG=none BRANCH=main TEST=zmake testall Signed-off-by: martin yan <martin.yan@microchip.corp-partner.google.com> Change-Id: I4b8aadf5820871e0abcff0306eefae634a4ee8df Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3388451 Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: flash: npcx: move the flash operations to upstreamJun Lin2021-11-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | In PR:39644, the SPI (FIU/UMA) driver is added to the Zephyr upstream. The flash access now can be via the flash APIs in spi_nor driver, including flash write/read/erase/read_jedec_id. Note that because there is no API in the flash driver to read/write the status register, it is implemented here via the spi_transceive API. BRANCH=none BUG=b:202295086 TEST=pass "zmake testall" TEST=enable flash console command on volteer and npcx9_evb, test the following flash related commands: flashread/flashwrite/flasherase/flashwp/flashchip/flashinfo. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Cq-Depend: chromium:3261416 Change-Id: I012ea359695a22cbb54d39124b4b78ff95cca36d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3261447 Tested-by: CH Lin <chlin56@nuvoton.com> Commit-Queue: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: pwm: fix init priorityYuval Peress2021-05-021-0/+9
| | | | | | | | | | | | | | | | | | Currently, the Zephyr pwm drivers were initialized at <PRE_KERNEL_1, KERNEL_INIT_PRIORITY_DEVICE (50)> which is the same priority as the shimmed pwm module. Zephyr does not guarantee any ordering if there's a tie in the priority. I believe that this may be the cause for the black screen after software sync (or at the very least error prone). BRANCH=none BUG=b:186458444 TEST=zmake testall Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I63758c6e11bc7b158fa27dd637f88dddd5d162cb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2855993 Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: fix initialization priority to be forward compatibleYuval Peress2021-04-071-0/+17
In upstream Zephyr the initialization of the GPIO module (and most other drivers) was changed. This breaks our gpio and in return also flash initialization. Update both gpio and flash initialization to work with Kconfig and add a compile time validation to be able to catch this sooner in the future. BRANCH=none BUG=none TEST=zmake testall Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I44e5867dbf4cb3d5934bf0d0807dcc1aa6c778e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2808335 Reviewed-by: Simon Glass <sjg@chromium.org>