aboutsummaryrefslogtreecommitdiff
path: root/boot/uboot/Config.in
diff options
context:
space:
mode:
authorGravatar Arnaud RĂ©billout <rebillout@syscom.ch>2012-12-20 02:47:18 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-03-24 20:49:15 +0100
commit7b252919409e7bb63f6035fbe3b7167f4abbfed1 (patch)
treef61bdb58e7096bccc82153362e585747bf8be117 /boot/uboot/Config.in
parenta8694c3cb5711023fcce911bb673c01b36d48d64 (diff)
downloadbuildroot-7b252919409e7bb63f6035fbe3b7167f4abbfed1.tar.gz
buildroot-7b252919409e7bb63f6035fbe3b7167f4abbfed1.tar.bz2
uboot: integrate mkenvimage
This commit provides configuration options to automatically generate a binary environment image for U-Boot. Two options are available (and mandatory): * the location of a text file describing U-Boot environment. * the size of the environment. [Peter: fix Config.in indentation + typo] Signed-off-by: Arnaud RĂ©billout <rebillout@syscom.ch> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'boot/uboot/Config.in')
-rw-r--r--boot/uboot/Config.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index d22e23bd72..bc5ce19daa 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -212,4 +212,27 @@ config BR2_TARGET_UBOOT_SPL_NAME
u-boot build. For most platform it is u-boot-spl.bin
but not always. It is MLO on OMAP for example.
+menuconfig BR2_TARGET_UBOOT_ENVIMAGE
+ bool "Environment image"
+ help
+ Generate a valid binary environment image from a text file
+ describing the key=value pairs of the environment.
+
+ The environment image will be called uboot-env.bin.
+
+if BR2_TARGET_UBOOT_ENVIMAGE
+
+config BR2_TARGET_UBOOT_ENVIMAGE_SOURCE
+ string "Source file for environment"
+ help
+ Text file describing the environment.
+
+config BR2_TARGET_UBOOT_ENVIMAGE_SIZE
+ string "Size of environment"
+ help
+ Size of envronment, can be prefixed with 0x for hexadecimal
+ values.
+
+endif # BR2_TARGET_UBOOT_ENVIMAGE
+
endif # BR2_TARGET_UBOOT