Files
luban-lite/packages/third-party/ramdisk/Kconfig

37 lines
904 B
Plaintext
Raw Normal View History

2023-08-30 16:21:18 +08:00
# Kconfig file for package ramdisk
menuconfig LPKG_USING_RAMDISK
bool "ramdisk: A RAM memory block device."
default n
if LPKG_USING_RAMDISK
choice
prompt "RAMDISK type"
2025-04-23 17:54:31 +08:00
default LPKG_RAMDISK_TYPE_EMPTY
help
Select the initial ramdisk type
2023-08-30 16:21:18 +08:00
2025-04-23 17:54:31 +08:00
config LPKG_RAMDISK_TYPE_EMPTY
bool "Create empty RAMDISK"
2023-08-30 16:21:18 +08:00
2025-04-23 17:54:31 +08:00
config LPKG_RAMDISK_TYPE_INITDATA
bool "Create RAMDISK from initial data"
endchoice
2023-08-30 16:21:18 +08:00
config LPKG_RAMDISK_BLK_SIZE
int "Ramdisk block size"
default 512
2025-04-23 17:54:31 +08:00
depends on LPKG_RAMDISK_TYPE_EMPTY
2023-08-30 16:21:18 +08:00
config LPKG_RAMDISK_NUM_BLK
int "Ramdisk number block"
default 6144
2025-04-23 17:54:31 +08:00
depends on LPKG_RAMDISK_TYPE_EMPTY
2023-08-30 16:21:18 +08:00
config LPKG_RAMDISK_INIT_DEVICE_NAME
string "RAMDISK initial device name"
default "rodata"
2025-04-23 17:54:31 +08:00
depends on LPKG_RAMDISK_TYPE_INITDATA
2023-08-30 16:21:18 +08:00
endif