9
0
Fork 0

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2013-01-28 10:26:10 +01:00 committed by Sascha Hauer
parent 8d5faa862c
commit 36db2a0f05
2 changed files with 42 additions and 41 deletions

View File

@ -108,47 +108,7 @@ config ENVIRONMENT_VARIABLES
menu "memory layout"
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
source "pbl/Kconfig"
config MMU
bool "Enable MMU"

41
pbl/Kconfig Normal file
View File

@ -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