add dummy platform file
authornotaz <notasas@gmail.com>
Mon, 5 Nov 2012 00:41:43 +0000 (02:41 +0200)
committernotaz <notasas@gmail.com>
Mon, 5 Nov 2012 01:08:36 +0000 (03:08 +0200)
plat.h
plat_dummy.c [new file with mode: 0644]

diff --git a/plat.h b/plat.h
index 139ea47..51be346 100644 (file)
--- a/plat.h
+++ b/plat.h
@@ -1,6 +1,8 @@
 #ifndef LIBPICOFE_PLAT_H
 #define LIBPICOFE_PLAT_H
 
+#include <stdlib.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
diff --git a/plat_dummy.c b/plat_dummy.c
new file mode 100644 (file)
index 0000000..969826c
--- /dev/null
@@ -0,0 +1,16 @@
+#include "plat.h"
+
+struct plat_target plat_target;
+
+int plat_target_init(void)
+{
+       return 0;
+}
+
+void plat_target_finish(void)
+{
+}
+
+void plat_target_setup_input(void)
+{
+}