summaryrefslogtreecommitdiff
path: root/tests/unittests/sysfs_mock/class/mtd/mtd0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/sysfs_mock/class/mtd/mtd0')
-rw-r--r--tests/unittests/sysfs_mock/class/mtd/mtd0/dev1
-rw-r--r--tests/unittests/sysfs_mock/class/mtd/mtd0/erasesize2
-rw-r--r--tests/unittests/sysfs_mock/class/mtd/mtd0/flags1
-rw-r--r--tests/unittests/sysfs_mock/class/mtd/mtd0/name1
-rw-r--r--tests/unittests/sysfs_mock/class/mtd/mtd0/numeraseregions1
-rw-r--r--tests/unittests/sysfs_mock/class/mtd/mtd0/oobsize1
-rw-r--r--tests/unittests/sysfs_mock/class/mtd/mtd0/size1
-rw-r--r--tests/unittests/sysfs_mock/class/mtd/mtd0/subpagesize1
-rw-r--r--tests/unittests/sysfs_mock/class/mtd/mtd0/writesize1
9 files changed, 10 insertions, 0 deletions
diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/dev b/tests/unittests/sysfs_mock/class/mtd/mtd0/dev
new file mode 100644
index 0000000..05bd230
--- /dev/null
+++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/dev
@@ -0,0 +1 @@
+12:1
diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/erasesize b/tests/unittests/sysfs_mock/class/mtd/mtd0/erasesize
new file mode 100644
index 0000000..8b5a50a
--- /dev/null
+++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/erasesize
@@ -0,0 +1,2 @@
+128
+
diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/flags b/tests/unittests/sysfs_mock/class/mtd/mtd0/flags
new file mode 100644
index 0000000..27b7671
--- /dev/null
+++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/flags
@@ -0,0 +1 @@
+0x0000001
diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/name b/tests/unittests/sysfs_mock/class/mtd/mtd0/name
new file mode 100644
index 0000000..0695219
--- /dev/null
+++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/name
@@ -0,0 +1 @@
+mtd0
diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/numeraseregions b/tests/unittests/sysfs_mock/class/mtd/mtd0/numeraseregions
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/numeraseregions
@@ -0,0 +1 @@
+12
diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/oobsize b/tests/unittests/sysfs_mock/class/mtd/mtd0/oobsize
new file mode 100644
index 0000000..a949a93
--- /dev/null
+++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/oobsize
@@ -0,0 +1 @@
+128
diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/size b/tests/unittests/sysfs_mock/class/mtd/mtd0/size
new file mode 100644
index 0000000..27f897b
--- /dev/null
+++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/size
@@ -0,0 +1 @@
+16777216
diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/subpagesize b/tests/unittests/sysfs_mock/class/mtd/mtd0/subpagesize
new file mode 100644
index 0000000..900731f
--- /dev/null
+++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/subpagesize
@@ -0,0 +1 @@
+64
diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/writesize b/tests/unittests/sysfs_mock/class/mtd/mtd0/writesize
new file mode 100644
index 0000000..a949a93
--- /dev/null
+++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/writesize
@@ -0,0 +1 @@
+128