summaryrefslogtreecommitdiff
path: root/target/linux/config
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-03-08 05:33:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-17 04:00:54 +0100
commit2d7388bc334ddb383ae275958d746c0622e515a3 (patch)
tree7ac1f78c268dd847fcac3116c1ae1d421050103e /target/linux/config
parentd0ee6e2acec02180b8940269020f4034c805f83a (diff)
Implement UBIFS rootfs support
This implements UBIFS rootfs, enables it for mips targets and adds the necessary settings for rb532. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'target/linux/config')
-rw-r--r--target/linux/config/Config.in.flash23
1 files changed, 22 insertions, 1 deletions
diff --git a/target/linux/config/Config.in.flash b/target/linux/config/Config.in.flash
index 3cf3a15ff..159e4aa45 100644
--- a/target/linux/config/Config.in.flash
+++ b/target/linux/config/Config.in.flash
@@ -163,9 +163,30 @@ config ADK_TARGET_MTD_SIZE
int
depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
|| ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
- || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
+ || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
+ || ADK_TARGET_SYSTEM_MIKROTIK_RB532
default "16777216" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
default "33554432" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
+ default "134217728" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
default "0"
+config ADK_TARGET_FLASH_PEB_SIZE
+ int
+ default 131072 if ADK_TARGET_SYSTEM_MIKROTIK_RB532
+ help
+ Physical Erase Block size.
+
+config ADK_TARGET_FLASH_PAGE_SIZE
+ int
+ default 2048 if ADK_TARGET_SYSTEM_MIKROTIK_RB532
+ help
+ Minimum input/output size.
+
+config ADK_TARGET_FLASH_SUBPAGE_SIZE
+ int
+ default 512 if ADK_TARGET_SYSTEM_MIKROTIK_RB532
+ default ADK_TARGET_FLASH_PAGE_SIZE
+ help
+ Size of NAND sub-pages (if supported).
+
endmenu