configs: ipq5332: TINY NOR: enable ART_COMPRESSED

Enable compressed ART support and also
included related header files.

Change-Id: Ie28a0e5a91548b8b4ae9ae0560b7d139812145b3
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
This commit is contained in:
Gokul Sriram Palanisamy 2023-10-11 14:54:11 +05:30
parent 1efbe86905
commit 00b660e13d
2 changed files with 15 additions and 0 deletions

View file

@ -26,6 +26,16 @@
#include <ipq5332.h> #include <ipq5332.h>
#include <spi.h> #include <spi.h>
#include <spi_flash.h> #include <spi_flash.h>
#if defined(CONFIG_ART_COMPRESSED) && \
(defined(CONFIG_GZIP) || defined(CONFIG_LZMA))
#ifndef CONFIG_COMPRESSED_LOAD_ADDR
#define CONFIG_COMPRESSED_LOAD_ADDR CONFIG_SYS_LOAD_ADDR
#endif
#include <mapmem.h>
#include <lzma/LzmaTools.h>
#endif
#ifdef CONFIG_QPIC_NAND #ifdef CONFIG_QPIC_NAND
#include <asm/arch-qca-common/qpic_nand.h> #include <asm/arch-qca-common/qpic_nand.h>
#include <nand.h> #include <nand.h>

View file

@ -342,6 +342,11 @@ CONFIG_LZMA=y
CONFIG_SYS_THUMB_BUILD=y CONFIG_SYS_THUMB_BUILD=y
CONFIG_HAS_THUMB2=y CONFIG_HAS_THUMB2=y
#
# ART uncompression support
#
CONFIG_ART_COMPRESSED=y
# #
# DPR support # DPR support
# #