• 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
21# platform char dev drivers config
22config DRIVERS_PLATFORM_CHAR_DEVICE
23    bool "Enable Platform Char Device Drivers"
24    default y
25    depends on FS_VFS
26    help
27      Enable Platform Char Device Drivers.
28
29config DRIVERS_MMZ_CHAR_DEVICE
30    bool "Enable MMZ Platform Char Device Drivers"
31    default y
32    depends on DRIVERS_PLATFORM_CHAR_DEVICE && FS_VFS
33    help
34      Enable MMZ Platform Char Device Drivers.
35
36config DRIVERS_NETDEV
37    bool "Enable Net Device"
38    default y
39    depends on DRIVERS && NET_LWIP_SACK
40    help
41      Answer Y to enable LiteOS support net device.
42
43# mtd configs tart
44config DRIVERS_MTD
45    bool "Enable MTD"
46    default y
47    depends on DRIVERS && FS_VFS
48    help
49      Answer Y to enable LiteOS support jffs2 multipartion.
50
51# spi nor
52config DRIVERS_MTD_SPI_NOR
53    bool "Enable MTD spi_nor flash"
54    default y
55    depends on DRIVERS_MTD
56    help
57      Answer Y to support spi_nor flash.
58choice
59    depends on  DRIVERS_MTD_SPI_NOR
60    prompt "SpiNorFlash Chips"
61    default DRIVERS_MTD_SPI_NOR_HISFC350
62
63config DRIVERS_MTD_SPI_NOR_HISFC350
64    bool "Enable hisfc350"
65    help
66      Answer Y to support hisfc350.
67
68config DRIVERS_MTD_SPI_NOR_HIFMC100
69    bool "Enable hifmc100"
70    help
71      Answer Y to support hifmc100.
72endchoice
73
74#spi nand
75config DRIVERS_MTD_NAND
76    bool "Enable MTD nandflash"
77    default n
78    depends on DRIVERS_MTD
79    help
80      Answer Y to support nandflash.
81
82# mtd configs end
83