summaryrefslogtreecommitdiff
path: root/boot/mxs-bootlets/Config.in
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-07-18 18:02:43 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-21 00:34:57 +0200
commit2a636d15217cd326b4546e7017538c7a9e9d399c (patch)
tree9d3b0b6a493caeb62ab5f2e23c0b56635bee6afc /boot/mxs-bootlets/Config.in
parentcc160a941ee2de5aa9bd4624dd56fd6b38bb29c9 (diff)
Add MXS bootlets package
MXS platforms (imx23 and imx28) are relying on bootlets as their first stage bootloaders, that can then either start a regular second stage bootloader or directly a Linux kernel. However, the Makefile allows only to build u-boot and linux images at the same time, which is not very convenient as we will more likely use only one of them, so we need to duplicate a bit what is already done so that we are able to choose what we want to generate. thomas.petazzoni@free-electrons.com: * Remove incorrect dependency on BR2_PACKAGE_ELFTOSB * Each board configuration option is for one board, not multiple boards, so use singular. * The i.MX28 support is for i.MX28 EVK only, reflect that in the option prompt and the option name. * Use 'generic-package' instead of GENTARGETS Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/mxs-bootlets/Config.in')
-rw-r--r--boot/mxs-bootlets/Config.in90
1 files changed, 90 insertions, 0 deletions
diff --git a/boot/mxs-bootlets/Config.in b/boot/mxs-bootlets/Config.in
new file mode 100644
index 000000000..2222ff607
--- /dev/null
+++ b/boot/mxs-bootlets/Config.in
@@ -0,0 +1,90 @@
+config BR2_TARGET_MXS_BOOTLETS
+ bool "mxs-bootlets"
+ depends on BR2_arm
+ help
+ Stage1 bootloaders for Freescale iMX23/iMX28 SoCs
+
+if BR2_TARGET_MXS_BOOTLETS
+
+choice
+ prompt "Source"
+ default BR2_TARGET_MXS_BOOTLETS_FREESCALE
+ help
+ Select the location of the bootlets you want to use
+
+config BR2_TARGET_MXS_BOOTLETS_FREESCALE
+ bool "Freescale 10.12.01 version"
+
+config BR2_TARGET_MXS_BOOTLETS_CUSTOM_TARBALL
+ bool "Custom tarball"
+
+config BR2_TARGET_MXS_BOOTLETS_CUSTOM_GIT
+ bool "Custom Git repository"
+
+endchoice
+
+config BR2_TARGET_MXS_BOOTLETS_CUSTOM_TARBALL_URL
+ depends on BR2_TARGET_MXS_BOOTLETS_CUSTOM_TARBALL
+ string "URL of custom bootlets tarball"
+
+if BR2_TARGET_MXS_BOOTLETS_CUSTOM_GIT
+
+config BR2_TARGET_MXS_BOOTLETS_CUSTOM_GIT_URL
+ string "URL of custom Git repository"
+
+config BR2_TARGET_MXS_BOOTLETS_CUSTOM_GIT_VERSION
+ string "Custom Git version"
+
+endif
+
+choice
+ prompt "Bootstream"
+ help
+ Select which bootstream to generate
+
+config BR2_TARGET_MXS_BOOTLETS_BAREBOX
+ depends on BR2_TARGET_BAREBOX
+ bool "Barebox Bootloader"
+
+config BR2_TARGET_MXS_BOOTLETS_LINUX
+ depends on BR2_LINUX_KERNEL
+ bool "Linux Kernel"
+
+config BR2_TARGET_MXS_BOOTLETS_UBOOT
+ depends on BR2_TARGET_UBOOT
+ bool "U-boot bootloader"
+
+endchoice
+
+config BR2_TARGET_MXS_BOOTLETS_HAS_IVT
+ bool "HAB Support"
+ help
+ Enable this option if you are building bootlets
+ for the iMX28 platform that needs to include instructions
+ for the secure boot mechanism present on these SoCs
+
+choice
+ prompt "Board"
+ help
+ Select the board to build the bootlets for
+
+config BR2_TARGET_MXS_BOOTLETS_STMP37xx
+ bool "Sigmatel ST-MP3-7xx Board"
+
+config BR2_TARGET_MXS_BOOTLETS_STMP378x
+ bool "Sigmatel ST-MP3-78x Board"
+
+config BR2_TARGET_MXS_BOOTLETS_IMX28EVK
+ bool "Freescale iMX28 EVK Board"
+
+config BR2_TARGET_MXS_BOOTLETS_CUSTOM_BOARD
+ bool "Custom board"
+endchoice
+
+config BR2_TARGET_MXS_BOOTLETS_CUSTOM_BOARD_NAME
+ string "Custom board name"
+ depends on BR2_TARGET_MXS_BOOTLETS_CUSTOM_BOARD
+ help
+ Name of the board to build the bootlets for
+
+endif