summaryrefslogtreecommitdiffstats
path: root/recipes-jailhouse/freertos-cell/freertos-cell/Bananapi-config-fix-for-Jailhouse-0.6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-jailhouse/freertos-cell/freertos-cell/Bananapi-config-fix-for-Jailhouse-0.6.patch')
-rw-r--r--recipes-jailhouse/freertos-cell/freertos-cell/Bananapi-config-fix-for-Jailhouse-0.6.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-jailhouse/freertos-cell/freertos-cell/Bananapi-config-fix-for-Jailhouse-0.6.patch b/recipes-jailhouse/freertos-cell/freertos-cell/Bananapi-config-fix-for-Jailhouse-0.6.patch
new file mode 100644
index 0000000..2421d8a
--- /dev/null
+++ b/recipes-jailhouse/freertos-cell/freertos-cell/Bananapi-config-fix-for-Jailhouse-0.6.patch
@@ -0,0 +1,30 @@
1From 6b55388a1b2375f4deca7dbf1a974d9ce22add86 Mon Sep 17 00:00:00 2001
2From: Ola Redell <ola.redell@retotech.se>
3Date: Sat, 28 Jan 2017 23:16:06 +0100
4Subject: [PATCH 2/2] bananapi: fix for newer versions of Jailhouse
5
6---
7 jailhouse-configs/bananapi-freertos-demo.c | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
9
10diff --git a/jailhouse-configs/bananapi-freertos-demo.c b/jailhouse-configs/bananapi-freertos-demo.c
11index f9488c5..094c387 100644
12--- a/jailhouse-configs/bananapi-freertos-demo.c
13+++ b/jailhouse-configs/bananapi-freertos-demo.c
14@@ -1,4 +1,4 @@
15-#include <linux/types.h>
16+#include <jailhouse/types.h>
17 #include <jailhouse/cell-config.h>
18
19 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
20@@ -15,6 +15,7 @@ struct {
21 } __attribute__((packed)) config = {
22 .cell = {
23 .signature = JAILHOUSE_CELL_DESC_SIGNATURE,
24+ .revision = JAILHOUSE_CONFIG_REVISION,
25 .name = "FreeRTOS",
26 .flags = JAILHOUSE_CELL_PASSIVE_COMMREG,
27
28--
291.9.1
30