59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
config AMLOGIC_AMFC
|
|
tristate "Amlogic AMFC driver"
|
|
default n
|
|
help
|
|
Amlogic AMFC driver for
|
|
Hardware compress/decompress module
|
|
This module can help for speed up
|
|
zram and some other cases which using compress/decompress
|
|
|
|
choice
|
|
prompt "AMFC soc"
|
|
depends on AMLOGIC_AMFC
|
|
default AMFC_S7D
|
|
help
|
|
select which soc for AMFC related drivers
|
|
|
|
config AMFC_S7D
|
|
bool "AMFC on S7D"
|
|
|
|
config AMFC_T6D
|
|
bool "AMFC on T6D"
|
|
|
|
config AMFC_T6W
|
|
bool "AMFC on T6W"
|
|
|
|
endchoice
|
|
|
|
config AMFC_BASE
|
|
hex "io base for decompress kernel"
|
|
default 0xfe024000 if AMFC_S7D
|
|
default 0xfe092000 if AMFC_T6D
|
|
default 0xfe092000 if AMFC_T6W
|
|
default 0xfe024000
|
|
help
|
|
Register base of AMFC for decompress uImage code.
|
|
|
|
config AMLOGIC_F2FS
|
|
bool "AMLOGIC_F2FS filesystem support"
|
|
depends on AMLOGIC_AMFC
|
|
depends on F2FS_FS_COMPRESSION
|
|
default n
|
|
help
|
|
AMLOGIC_F2FS is an optimzation for using amfc as f2fs compress
|
|
backe-end, which can help to increase io performance on platform.
|
|
|
|
If unsure, say N.
|
|
|
|
config AMFC_DMA_TEST
|
|
bool "amfc dma test case for bandwidth"
|
|
depends on AMLOGIC_AMFC
|
|
default y
|
|
help
|
|
Provide an interface for bandwidth testing.
|
|
the test node: /sys/class/amfc/band_test
|
|
|
|
source "$(COMMON_DRIVERS_DIR)/drivers/amfc/aml_erofs/Kconfig"
|
|
source "$(COMMON_DRIVERS_DIR)/drivers/amfc/aml_zram/Kconfig"
|
|
source "$(COMMON_DRIVERS_DIR)/drivers/amfc/sym_helper/Kconfig"
|