summaryrefslogtreecommitdiff
path: root/firmware/common/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/disk.c')
-rw-r--r--firmware/common/disk.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c
index b662072d5f..b85f460a69 100644
--- a/firmware/common/disk.c
+++ b/firmware/common/disk.c
@@ -73,3 +73,9 @@ struct partinfo* disk_init(void)
return part;
}
+
+struct partinfo* disk_partinfo(int partition)
+{
+ return &part[partition];
+}
+