mirror of
https://gitee.com/openharmony/drivers_adapter_khdf_linux
synced 2024-12-03 10:32:24 +00:00
!112 modfy hdf menuconfig
Merge pull request !112 from kevin/0909_master
This commit is contained in:
commit
38c6c64f18
17
Kconfig
17
Kconfig
@ -1,17 +1,18 @@
|
||||
|
||||
config DRIVERS_HDF
|
||||
bool "Enable HDF manager"
|
||||
default y
|
||||
menuconfig DRIVERS_HDF
|
||||
bool "HDF driver framework support"
|
||||
default n
|
||||
help
|
||||
Answer Y to enable Linux support HDF.
|
||||
|
||||
if DRIVERS_HDF
|
||||
config HDF_SUPPORT_LEVEL
|
||||
int "Set HDF support platform"
|
||||
default 1
|
||||
int "Set HDF support level"
|
||||
default 2
|
||||
range 0 5
|
||||
depends on DRIVERS_HDF
|
||||
help
|
||||
Answer 1 on OHOS L1, 2 on OHOS L2, etc
|
||||
Answer 1 on small OHOS, 2 on standard OHOS
|
||||
|
||||
source "drivers/hdf/khdf/platform/Kconfig"
|
||||
source "drivers/hdf/khdf/test/Kconfig"
|
||||
@ -25,4 +26,6 @@ source "drivers/hdf/khdf/model/usb/host/Kconfig"
|
||||
source "drivers/hdf/khdf/model/usb/device/Kconfig"
|
||||
source "drivers/hdf/khdf/model/audio/Kconfig"
|
||||
source "drivers/hdf/khdf/model/misc/vibrator/Kconfig"
|
||||
source "drivers/hdf/khdf/model/misc/dsoftbus/Kconfig"
|
||||
source "drivers/hdf/khdf/model/misc/dsoftbus/Kconfig"
|
||||
|
||||
endif
|
||||
|
@ -33,12 +33,6 @@ config DRIVERS_HDF_PLATFORM_WATCHDOG
|
||||
help
|
||||
Answer Y to enable HDF platform watchdog driver.
|
||||
|
||||
config PWM_HI35XX
|
||||
bool "hi35xx pwm driver"
|
||||
depends on PWM
|
||||
help
|
||||
Answer Y to enable hi35xx pwm driver
|
||||
|
||||
config DRIVERS_HDF_PLATFORM_PWM
|
||||
bool "Enable HDF platform pwm driver"
|
||||
depends on DRIVERS_HDF_PLATFORM
|
||||
@ -85,3 +79,9 @@ config DRIVERS_HDF_PLATFORM_RTC
|
||||
depends on DRIVERS_HDF_PLATFORM
|
||||
help
|
||||
Answer Y to enable HDF platform rtc driver.
|
||||
|
||||
config PWM_HI35XX
|
||||
bool "hi35xx pwm driver"
|
||||
depends on PWM
|
||||
help
|
||||
Answer Y to enable hi35xx pwm driver
|
Loading…
Reference in New Issue
Block a user