summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Yeryomin <romans.jerjomins@saftehnika.com>2013-06-15 14:11:20 +0300
committerRoman Yeryomin <romans.jerjomins@saftehnika.com>2013-06-15 14:11:20 +0300
commita7b5cb0388be74ab7531e62b2af3b45cb8616f1a (patch)
tree2ad91c2f20cdc45fbbcc881215f38031e1e6d281
parent60d8f69105bf8c226b8a7e4299cc869d757cd149 (diff)
Add FLATFS image offset to default config
Signed-off-by: Roman Yeryomin <romans.jerjomins@saftehnika.com>
-rw-r--r--include/kernel-defaults.mk1
-rw-r--r--target/linux/realtek/image/Config.in4
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"