diff options
-rw-r--r-- | include/kernel-defaults.mk | 1 | ||||
-rw-r--r-- | target/linux/realtek/image/Config.in | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 043b56865..462dbdef5 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -99,6 +99,7 @@ ifeq ($(CONFIG_TARGET_realtek),y) echo "CONFIG_RTL_LINUX_IMAGE_OFFSET=0x${CONFIG_REALTEK_KERNEL_OFFSET}" >> $(LINUX_DIR)/.config.target echo "CONFIG_RTL_ROOT_IMAGE_OFFSET=0x${CONFIG_REALTEK_ROOTFS_OFFSET}" >> $(LINUX_DIR)/.config.target echo "CONFIG_RTL_KERNEL_LOAD_ADDRESS=${CONFIG_REALTEK_KERNEL_LOAD_ADDRESS}" >> $(LINUX_DIR)/.config.target + echo "CONFIG_RTL_FLATFS_IMAGE_OFFSET=${CONFIG_REALTEK_FLATFS_IMAGE_OFFSET}" >> $(LINUX_DIR)/.config.target endif echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> $(LINUX_DIR)/.config.target echo "# CONFIG_KALLSYMS_ALL is not set" >> $(LINUX_DIR)/.config.target diff --git a/target/linux/realtek/image/Config.in b/target/linux/realtek/image/Config.in index 36f4c860d..5ae1e8a04 100644 --- a/target/linux/realtek/image/Config.in +++ b/target/linux/realtek/image/Config.in @@ -18,3 +18,7 @@ config REALTEK_FLASH_SIZE depends TARGET_realtek default "0x800000" +config REALTEK_FLATFS_IMAGE_OFFSET + string "FLATFS image offset in flash" + depends TARGET_realtek + default "0x3E0000" |