kumquat-buildroot/boot/mxs-bootlets/Config.in
Maxime Ripard 2a636d1521 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>
2012-07-21 00:34:57 +02:00

91 lines
2.0 KiB
Plaintext

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