summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2016-03-13 19:51:37 -0400
committerAnas Nashif <anas.nashif@intel.com>2016-03-14 16:50:50 -0400
commit84a5557eb313e126e1f16ebcd46b1b487de77823 (patch)
tree66319d7f5b0f59a619dac63e3f17ce4236cc8eca /misc
parent75c5e51ba59289dd1634effc75e58fe510e09feb (diff)
kconfig: move ARM bootloader options to bootloader menu
Change-Id: Ia3612413f68691d9e9364f278aada6b9c3296fb5 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/Kconfig b/misc/Kconfig
index 6ee8f1a9b..673504810 100644
--- a/misc/Kconfig
+++ b/misc/Kconfig
@@ -263,6 +263,24 @@ endmenu
menu "Boot Options"
+config IS_BOOTLOADER
+ bool "Act as a bootloader"
+ default n
+ depends on XIP
+ depends on ARM
+ help
+ This option indicates that Zephyr will act as a bootloader to execute
+ a separate Zephyr image payload.
+
+config BOOTLOADER_SRAM_SIZE
+ int "SRAM reserved for when Zephyr acts as a bootloader"
+ default 16
+ depends on !XIP || IS_BOOTLOADER
+ depends on ARM
+ help
+ This option specifies the amount of SRAM (measure in kB) reserved for
+ when Zephyr is to act as a bootloader.
+
config BOOTLOADER_KEXEC
bool
prompt "Boot using Linux kexec() system call"