Files
kernel_common_drivers/drivers/amfc/Kconfig
T
Tao Zeng 187ca993ca t6d: amfc: use device config and compress uImage
PD#SWPL-181954

Problem:
uImage not decompressed by AMFC

Solution:
1, change zstd tools to append size at end of uImage;
2, change scripts to support uImage decomperss by AMFC

Verify:
t6d

Change-Id: I2f2465a2247085c150a1c7f42ede688011745071
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-08-22 14:40:36 +08:00

34 lines
694 B
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"
endchoice
config AMFC_BASE
hex "io base for decompress kernel"
default 0xfe024000 if AMFC_S7D
default 0xfe092000 if AMFC_T6D
default 0xfe024000
help
Register base of AMFC for decompress uImage code.
source "$(COMMON_DRIVERS_DIR)/drivers/amfc/aml_erofs/Kconfig"