diff mbox

[OpenWrt-Devel,v1,1/7] config: Add option to specify custom TRX header

Message ID 1423499364-2438-2-git-send-email-wsheppard@embedded-bits.co.uk
State Rejected
Headers show

Commit Message

Will Sheppard Feb. 9, 2015, 4:29 p.m. UTC
Signed-off-by: Will Sheppard <wsheppard@embedded-bits.co.uk>
---
 config/Config-images.in | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
diff mbox

Patch

diff --git a/config/Config-images.in b/config/Config-images.in
index 5c2e79e..e4e4804 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -6,6 +6,21 @@ 
 
 menu "Target Images"
 
+
+	config KERNEL_TRX_MAGIC_OVERRIDE
+		bool "Override TRX magic number"
+		default n
+		help
+			Select to override default TRX_MAGIC value of "HDR0"
+
+		config KERNEL_TRX_MAGIC
+			hex "TRX_MAGIC"
+			default 0x12345678
+			depends on KERNEL_TRX_MAGIC_OVERRIDE
+			help
+				Enter magic
+
+
 	menuconfig TARGET_ROOTFS_INITRAMFS
 		bool "ramdisk"
 		default y if USES_INITRAMFS