summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-22 22:55:56 -0700
committerTom Rini <trini@konsulko.com>2016-03-14 19:18:30 -0400
commitf1dcee59a2afc4cf39699eef7631edbff8693933 (patch)
tree495ae6e880875227e816aac1517f32e6ddea663b /Kconfig
parent4b307f2387da95d3b91f1fef8c5b6dc2108ddb4d (diff)
spl: Add an option to load a FIT containing U-Boot
This provides a way to load a FIT containing U-Boot and a selection of device tree files. The board can select the correct device tree by probing the hardware. Then U-Boot is started with the selected device tree. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index a9a4938401d..e7002edcb91 100644
--- a/Kconfig
+++ b/Kconfig
@@ -273,6 +273,17 @@ config SYS_TEXT_BASE
help
TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
+config SPL_LOAD_FIT
+ bool "Enable SPL loading U-Boot as a FIT"
+ depends on FIT
+ help
+ Normally with the SPL framework a legacy image is generated as part
+ of the build. This contains U-Boot along with information as to
+ where it should be loaded. This option instead enables generation
+ of a FIT (Flat Image Tree) which provides more flexibility. In
+ particular it can handle selecting from multiple device tree
+ and passing the correct one to U-Boot.
+
config SYS_CLK_FREQ
depends on ARC || ARCH_SUNXI
int "CPU clock frequency"