summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-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