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

Will Sheppard sheppard.will at gmail.com
Mon Feb 9 11:29:18 EST 2015


Signed-off-by: Will Sheppard <wsheppard at embedded-bits.co.uk>
---
 config/Config-images.in | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

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
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list