diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-06-17 17:39:51 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-27 22:35:25 -0400 |
commit | faaef73f7eedaaeed12ffbc95dd7b4b7411a3af5 (patch) | |
tree | 2b4503f4c95289ee3244a81bf69636e819ab42f3 | |
parent | d14739ffe16092323f838b8d3f61796afe083810 (diff) | |
download | u-boot-imx-faaef73f7eedaaeed12ffbc95dd7b4b7411a3af5.zip u-boot-imx-faaef73f7eedaaeed12ffbc95dd7b4b7411a3af5.tar.gz u-boot-imx-faaef73f7eedaaeed12ffbc95dd7b4b7411a3af5.tar.bz2 |
common: add new boot media kconfig entry
Add CONFIG_{SD|NAND|ONENAND|SPI|QSPI|SATA}_BOOT kconfig entries.
SoCs supports loading U-Boot from different medias to DRAM, such as
i.MX6/7 supports loading U-Boot to DRAM from sd/emmc/nand/qspi/spi/sata
and etc. For i.MX, imximage will generate different IVT headers according
to boot medias.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Christophe Ricard <christophe-h.ricard@st.com>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Francois Retief <fgretief@spaceteq.co.za>
Cc: Tom Rini <trini@konsulko.com>
-rw-r--r-- | common/Kconfig | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 6f301e7..af7ead8 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -108,6 +108,54 @@ config NOR_BOOT as the ROM only partially sets up pinmux. We also default to using NOR for environment. +config NAND_BOOT + bool "Support for booting from NAND flash" + default n + help + Enabling this will make a U-Boot binary that is capable of being + booted via NAND flash. This is not a must, some SoCs need this, + somes not. + +config ONENAND_BOOT + bool "Support for booting from ONENAND" + default n + help + Enabling this will make a U-Boot binary that is capable of being + booted via ONENAND. This is not a must, some SoCs need this, + somes not. + +config QSPI_BOOT + bool "Support for booting from QSPI flash" + default n + help + Enabling this will make a U-Boot binary that is capable of being + booted via QSPI flash. This is not a must, some SoCs need this, + somes not. + +config SATA_BOOT + bool "Support for booting from SATA" + default n + help + Enabling this will make a U-Boot binary that is capable of being + booted via SATA. This is not a must, some SoCs need this, + somes not. + +config SD_BOOT + bool "Support for booting from SD/EMMC" + default n + help + Enabling this will make a U-Boot binary that is capable of being + booted via SD/EMMC. This is not a must, some SoCs need this, + somes not. + +config SPI_BOOT + bool "Support for booting from SPI flash" + default n + help + Enabling this will make a U-Boot binary that is capable of being + booted via SPI flash. This is not a must, some SoCs need this, + somes not. + endmenu config BOOTDELAY |