summaryrefslogtreecommitdiffstats
path: root/pbl
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-01-28 10:26:10 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-30 22:27:19 +0100
commit36db2a0f05f8dab8c8c38e47b5112dbb89a47781 (patch)
tree257c8e9852b8aaf9cbbb1a5b7f08cf188c04bf5d /pbl
parent8d5faa862c6fa7a0dff4ac25e5ba72eb466b6f3c (diff)
downloadbarebox-36db2a0f05f8dab8c8c38e47b5112dbb89a47781.tar.gz
pbl: move configs to pbl/Kconfig
so it more easy to add new entry and to maintain Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'pbl')
-rw-r--r--pbl/Kconfig41
1 files changed, 41 insertions, 0 deletions
diff --git a/pbl/Kconfig b/pbl/Kconfig
new file mode 100644
index 0000000..fbf0b1b
--- /dev/null
+++ b/pbl/Kconfig
@@ -0,0 +1,41 @@
+config HAVE_PBL_IMAGE
+ bool
+
+config HAVE_IMAGE_COMPRESSION
+ bool
+
+config PBL_IMAGE
+ bool "Pre-Bootloader image"
+ depends on HAVE_PBL_IMAGE
+
+config PBL_FORCE_PIGGYDATA_COPY
+ bool
+ help
+ In some case we need to copy the PIGGYDATA as the link address
+ as example we run from SRAM and shutdown the SDRAM/DDR for
+ reconfiguration but most of the time we just need to copy the
+ executable code.
+
+if PBL_IMAGE
+
+config IMAGE_COMPRESSION
+ bool
+ depends on HAVE_IMAGE_COMPRESSION
+ default y
+
+if IMAGE_COMPRESSION
+
+choice
+ prompt "Compression"
+
+config IMAGE_COMPRESSION_LZO
+ bool "lzo"
+
+config IMAGE_COMPRESSION_GZIP
+ bool "gzip"
+
+endchoice
+
+endif
+
+endif