summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2015-06-25 10:18:28 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-06-26 11:56:24 +0200
commit438dcfdb76de66683b5eda23dee69cdf4465caf9 (patch)
tree1419097e149782f61f5e9f9ec89d9219a90780c0 /common
parent24867bac8acee7f7c8bfd0c23a5951907fb0c242 (diff)
downloadbarebox-438dcfdb76de66683b5eda23dee69cdf4465caf9.tar.gz
barebox-438dcfdb76de66683b5eda23dee69cdf4465caf9.tar.xz
images: Add file size check for PBLX files
Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 3dfb5ac194..cebe086838 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -201,6 +201,16 @@ config BAREBOX_MAX_BARE_INIT_SIZE
this will allow your bare_init to fit in SRAM as example
ARCH can overwrite it via ARCH_BAREBOX_MAX_BARE_INIT_SIZE
+config BAREBOX_MAX_PBLX_SIZE
+ depends on PBL_MULTI_IMAGES
+ depends on IMAGE_COMPRESSION
+ prompt "Maximum PBLX size"
+ hex
+ default 0xffffffff
+ help
+ Define the maximum size of the PBLX image.
+ The pblx is a self extracting barebox binary.
+
config HAVE_CONFIGURABLE_MEMORY_LAYOUT
bool