@@ -139,6 +139,9 @@ config SYS_SUPPORTS_MTU2
config SYS_SUPPORTS_TMU
bool
+config SYS_SUPPORTS_ZIMAGE_BOOT_LOADER
+ bool
+
config STACKTRACE_SUPPORT
def_bool y
@@ -766,6 +769,18 @@ config CMDLINE
depends on CMDLINE_BOOL
default "console=ttySC1,115200"
+config ZIMAGE_BOOT_LOADER_FILE
+ string
+ depends on ZIMAGE_BOOT_LOADER
+
+config ZIMAGE_BOOT_LOADER
+ bool "Use zImage as boot loader"
+ depends on SYS_SUPPORTS_ZIMAGE_BOOT_LOADER
+ help
+ This option enables board specific code in the zImage boot loader.
+
+ If unsure, say N.
+
endmenu
menu "Bus options"
@@ -11,6 +11,9 @@
.global startup
startup:
+#ifdef CONFIG_ZIMAGE_BOOT_LOADER
+#include CONFIG_ZIMAGE_BOOT_LOADER_FILE
+#endif
/* Load initial status register */
mov.l init_sr, r1
ldc r1, sr