summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/samsungypr/ypr1/system-ypr1.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/samsungypr/ypr1/system-ypr1.c')
-rw-r--r--firmware/target/hosted/samsungypr/ypr1/system-ypr1.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr1/system-ypr1.c b/firmware/target/hosted/samsungypr/ypr1/system-ypr1.c
index 9aa49786f1..7efa73b273 100644
--- a/firmware/target/hosted/samsungypr/ypr1/system-ypr1.c
+++ b/firmware/target/hosted/samsungypr/ypr1/system-ypr1.c
@@ -21,9 +21,11 @@
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
+#include <unistd.h>
#include "system.h"
#include "panic.h"
#include "debug.h"
+#include "hostfs.h"
#include "gpio-ypr.h"
#include "pmu-ypr1.h"
@@ -65,3 +67,15 @@ void system_exception_wait(void)
{
system_reboot();
}
+
+void hostfs_init()
+{
+ /* stub */
+}
+
+int hostfs_flush(void)
+{
+ sync();
+
+ return 0;
+}