Kconfig 2.5 KB
Newer Older
W
wenjun 已提交
1 2 3 4
config PLATFORM
    string
    default "hi3516dv300"     if PLATFORM_HI3516DV300
    default "hi3518ev300"     if PLATFORM_HI3518EV300
5
    default "virt"            if PLATFORM_QEMU_ARM_VIRT_CA7
6
    default "stm32mp157"      if PLATFORM_STM32MP157
W
wenjun 已提交
7

M
mamingshuai 已提交
8
config PRODUCT_NAME
C
Caoruihong 已提交
9
    string "product name"
M
mamingshuai 已提交
10 11 12 13 14
    default "ipcamera_hi3516dv300_liteos" if PRODUCT_IPCAMERA_HI3516DV300_LITEOS
    default "ipcamera_hi3518ev300_liteos" if PRODUCT_IPCAMERA_HI3518EV300_LITEOS
    default "hispark_taurus" if PRODUCT_HISPARK_TAURUS
    default "hispark_aries" if PRODUCT_HISPARK_ARIES
    default "arm_virt" if PRODUCT_QEMU_ARM
15
    default "stm32mp157_liteos" if PRODUCT_STM32MP157_LITEOS
M
mamingshuai 已提交
16 17

config DEVICE_COMPANY
C
Caoruihong 已提交
18
    string "vendor name"
M
mamingshuai 已提交
19 20 21
    default "hisilicon" if PLATFORM_HI3516DV300
    default "hisilicon" if PLATFORM_HI3518EV300
    default "qemu" if PLATFORM_QEMU_ARM_VIRT_CA7
22
    default "st" if PLATFORM_STM32MP157
M
mamingshuai 已提交
23

W
wenjun 已提交
24
choice
M
mamingshuai 已提交
25
    prompt "Chip"
W
wenjun 已提交
26 27
    default PLATFORM_HI3516DV300
    help
C
Caoruihong 已提交
28 29 30
      IP Camera has several chips:
       - hi3516dv300
       - hi3518ev300
31
      Qemu ARM Virt variants (based on different CPU types):
C
Caoruihong 已提交
32
       - qemu_arm_virt_ca7
33
       - stm32mp157
W
wenjun 已提交
34 35 36 37 38 39 40 41 42

config PLATFORM_HI3516DV300
    bool "hi3516dv300"
    select ARCH_CORTEX_A7

config PLATFORM_HI3518EV300
    bool "hi3518ev300"
    select ARCH_CORTEX_A7

43 44 45 46 47
config PLATFORM_QEMU_ARM_VIRT_CA7
    bool "qemu_arm_virt_ca7"
    select ARCH_CORTEX_A7
    help
        QEMU ARM Virtual Platform using Cortex-A7 CPU.
48 49 50
config PLATFORM_STM32MP157
    bool "stm32mp157"
    select ARCH_CORTEX_A7
W
wenjun 已提交
51 52
endchoice

M
mamingshuai 已提交
53
choice
54
    prompt "Product"
M
mamingshuai 已提交
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
    help
      Select your target board.

config PRODUCT_IPCAMERA_HI3516DV300_LITEOS
    bool "ipcamera_hi3516dv300_liteos" if PLATFORM_HI3516DV300
config PRODUCT_HISPARK_TAURUS
    bool "hispark_taurus" if PLATFORM_HI3516DV300

config PRODUCT_IPCAMERA_HI3518EV300_LITEOS
    bool "ipcamera_hi3518ev300_liteos" if PLATFORM_HI3518EV300
config PRODUCT_HISPARK_ARIES
    bool "hispark_aries" if PLATFORM_HI3518EV300

config PRODUCT_QEMU_ARM
    bool "arm_virt" if PLATFORM_QEMU_ARM_VIRT_CA7
70 71 72

config PRODUCT_STM32MP157_LITEOS
    bool "stm32mp157_liteos" if PLATFORM_STM32MP157
M
mamingshuai 已提交
73 74 75
endchoice

config BOARD_CONFIG_PATH
76
    string "Board config path"
M
mamingshuai 已提交
77 78
    default "config/board"

W
wenjun 已提交
79
config TEE_ENABLE
80
    bool "Enable TEE"
W
wenjun 已提交
81
    default n
82
    depends on PLATFORM_HI3516DV300 || PLATFORM_STM32MP157
W
wenjun 已提交
83
    help
84
        Enable teeos in platform
W
wenjun 已提交
85

86 87 88 89 90 91
config HRTIMER_ENABLE
    bool "HR TIMER enable"
    default y
    help
      Enable High-resolution timer support