• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# none hdf driver configs
2choice
3    prompt "Enable Uart"
4    default DRIVERS_HDF_PLATFORM_UART
5    help
6      Enable simple uart (without vfs) only for litekernel.
7      Enable general uart (with vfs) for full code.
8
9config DRIVERS_HDF_PLATFORM_UART
10    bool "Enable HDF platform uart driver"
11    depends on DRIVERS_HDF_PLATFORM
12    help
13      Answer Y to enable HDF platform uart driver.
14
15config PLATFORM_UART_WITHOUT_VFS
16    bool "Simple Uart"
17config PLATFORM_NO_UART
18    bool "NO Uart"
19endchoice
20
21config DRIVERS_HIEDMAC
22    bool "Enable HIEDMAC"
23    default n
24    depends on DRIVERS && PLATFORM_HI3559AV100
25    help
26      Answer Y to enable LiteOS support hiedmac.
27
28config DRIVERS_NETDEV
29    bool "Enable Net Device"
30    default y
31    depends on DRIVERS && NET_LWIP_SACK
32    help
33      Answer Y to enable LiteOS support net device.
34
35choice
36    depends on DRIVERS_NETDEV
37    prompt "MAC"
38    default DRIVERS_HIETH_SF
39    help
40      Enable higmac for hi3516a hi3519 hi3559a_cortex-a53_aarch64.
41      Enable hieth-sf for hi3516cv300 hi3516ev200 and hi3518ev200.
42
43config DRIVERS_HIETH_SF
44    bool "Enable hieth-sf"
45    depends on DRIVERS_NETDEV && (PLATFORM_HI3518EV200 || PLATFORM_HI3731 || PLATFORM_HI3516CV300 || PLATFORM_HI3516CV500 || PLATFORM_HI3516DV300 || PLATFORM_HI3516EV200 || PLATFORM_HI3516EV300 || PLATFORM_HI3559V200 || PLATFORM_HI3516DV300 || PLATFORM_HI3518EV300)
46endchoice
47
48# mmc config start
49config DRIVERS_MMC
50    depends on DRIVERS
51    bool "Enable MMC"
52    default y
53    depends on DRIVERS && FS_VFS
54    help
55      Answer Y to enable LiteOS support MMC driver.
56
57config DRIVERS_SD_DETECT_BY_SW
58    depends on DRIVERS_MMC && (PLATFORM_HI3516EV200 || PLATFORM_HI3518EV300)
59    bool "Use software detection instead of hardware interrupt"
60    default n
61    help
62      Answer Y to enable software detection for the MMC/SD card.
63      if you choose Y, host driver will disable the insert/remove interrupt and use the sd protocol to detect the card.
64
65config DRIVERS_SD
66    depends on DRIVERS_MMC && (PLATFORM_HI3518EV200 || PLATFORM_HI3516EV200 || PLATFORM_HI3516EV300 || PLATFORM_HI3518EV300 || PLATFORM_HI3516DV300)
67    bool "Enable MMC0 support SD card type"
68
69config DRIVERS_EMMC
70    depends on DRIVERS_MMC && (PLATFORM_HI3518EV200 || PLATFORM_HI3516EV200 || PLATFORM_HI3516EV300 || PLATFORM_HI3518EV300 || PLATFORM_HI3516DV300 || PLATFORM_HI3556V200)
71    bool "Enable MMC0 support eMMC type"
72
73choice
74    depends on DRIVERS_EMMC && DRIVERS_MMC && FS_VFS
75    prompt "EMMC chip mode"
76    default DRIVERS_EMMC_HS200
77    help
78      select EMMC chip mode hs200.
79      select EMMC chip mode hs400.
80
81config DRIVERS_EMMC_HS200
82    depends on DRIVERS_EMMC
83    bool "Enable EMMC HS200 support"
84    help
85       If you connect the SDIO0 to EMMC chip, figure out which mode of chip and select the mode HS200
86
87config DRIVERS_EMMC_HS400
88    depends on DRIVERS_EMMC && (PLATFORM_HI3518EV200 || PLATFORM_HI3516EV300)
89    bool "Enable EMMC HS400 support"
90    help
91       If you connect the SDIO0 to EMMC chip figure out which mode of chip and select the mode HS400
92
93endchoice
94
95config DRIVERS_MMC_SPEEDUP
96    depends on DRIVERS_MMC && (PLATFORM_HI3519 || PLATFORM_HI3519V101 || PLATFORM_HI3559)
97    bool "Enable MMC support speedup"
98    default n
99    help
100      Answer Y to enable LiteOS support speedup.
101# mmc config end
102
103# mtd configs tart
104config DRIVERS_MTD
105    bool "Enable MTD"
106    default y
107    depends on DRIVERS && FS_VFS
108    help
109      Answer Y to enable LiteOS support jffs2 multipartion.
110
111# spi nor
112config DRIVERS_MTD_SPI_NOR
113    bool "Enable MTD spi_nor flash"
114    default y
115    depends on DRIVERS_MTD
116    help
117      Answer Y to support spi_nor flash.
118choice
119    depends on  DRIVERS_MTD_SPI_NOR
120    prompt "SpiNorFlash Chips"
121    default DRIVERS_MTD_SPI_NOR_HISFC350
122
123config DRIVERS_MTD_SPI_NOR_HISFC350
124    depends on PLATFORM_HI3516A || PLATFORM_HI3731
125    bool "Enable hisfc350"
126    help
127      Answer Y to support hisfc350.
128
129config DRIVERS_MTD_SPI_NOR_HIFMC100
130    depends on PLATFORM_HI3518EV200 || PLATFORM_HI3519 || PLATFORM_HI3519V101 || PLATFORM_HI3559  || PLATFORM_HI3516CV300 || PLATFORM_HI3559AV100ES || PLATFORM_HI3559AV100 || PLATFORM_HI3516CV500 || PLATFORM_HI3516DV300 || PLATFORM_HI3516EV200 || PLATFORM_HI3516EV300 || PLATFORM_HI3518EV300 || PLATFORM_HI3556V200 || PLATFORM_HI3559V200
131    bool "Enable hifmc100"
132    help
133      Answer Y to support hifmc100.
134endchoice
135
136#spi nand
137config DRIVERS_MTD_NAND
138    bool "Enable MTD nandflash"
139    default n
140    depends on DRIVERS_MTD
141    help
142      Answer Y to support nandflash.
143
144choice
145    depends    on DRIVERS_MTD_NAND
146    prompt "NandFlash Chips"
147    default DRIVERS_MTD_NAND_HINFC620
148
149config DRIVERS_MTD_NAND_HINFC620
150    depends on PLATFORM_HI3516A
151    bool "Enable hinfc620 for parallel nand"
152    help
153      Answer Y to support hinfc620.
154
155config DRIVERS_MTD_NAND_HISNFC100
156    depends on PLATFORM_HI3516A
157    bool "Enable hisnfc100 for spi nand"
158    help
159      Answer Y to support hisnfc100.
160
161config DRIVERS_MTD_NAND_HIFMC100
162    depends on PLATFORM_HI3518EV200 || PLATFORM_HI3519 || PLATFORM_HI3519V101 || PLATFORM_HI3559 || PLATFORM_HI3516CV300 || PLATFORM_HI3559AV100ES || PLATFORM_HI3516EV200 || PLATFORM_HI3516EV300 || PLATFORM_HI3518EV300 || PLATFORM_HI3559V200 || PLATFORM_HI3556V200 || PLATFORM_HI3516DV300 || PLATFORM_HI3516CV500
163    bool "Enable hifmc100 for spi nand"
164    help
165      Answer Y to support hifmc100.
166
167config DRIVERS_MTD_NAND_HIFMC100_PARALLEL
168    depends on PLATFORM_HI3519 || PLATFORM_HI3519V101 || PLATFORM_HI3559 || PLATFORM_HI3559AV100ES
169    bool "Enable hifmc100 for parallel nand"
170    help
171      Answer Y to support hifmc100.
172endchoice
173# mtd configs end
174
175config DRIVERS_HI3881
176    bool "Enable Hi3881 Host driver"
177    default n
178    depends on DRIVERS_HDF_WIFI
179    help
180      Answer Y to enable Hi3881 Host driver.
181