blob: c5d98b60813a3e3a4f78993b1b3a6dea2a6fc402 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
menuconfig CROS_SYSTEM_NPCX
bool "Nuvoton NPCX cros system driver"
depends on SOC_FAMILY_NPCX
default y
help
This option enables the cros system driver for the NPCX family of
processors. Currently, Zephyr doesn't provide the system related API.
The cros system driver provides the low-level driver related to
chromium ec system functionality.
if CROS_SYSTEM_NPCX
config CROS_SYSTEM_NPCX_INIT_PRIORITY
int "cros_system npcx initialization priority"
default 10
range 10 19
help
This sets the npcx cros_system driver initialization priority. The
cros_system driver provides access to the NPCX reset cause and must be
higher priority than CONFIG_SYSTEM_PRE_INIT_PRIORITY.
endif # CROS_SYSTEM_NPCX
config CROS_SYSTEM_IT8XXX2
bool "ITE IT8XXX2 cros system driver"
depends on SOC_FAMILY_RISCV_ITE
default y
help
This option enables the cros system driver for the it8xxx2 family of
processors.
if CROS_SYSTEM_IT8XXX2
config CROS_SYSTEM_IT8XXX2_INIT_PRIORITY
int "cros_system it8xxx2 initialization priority"
default 10
help
This sets the it8xxx2 cros_system driver initialization priority.
The cros_system driver provides access to the it8xxx2 reset cause
and must be higher priority than
CONFIG_PLATFORM_EC_SYSTEM_PRE_INIT_PRIORITY.
endif # CROS_SYSTEM_IT8XXX2
|