summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/patches/barebox-2020.01.0/0011-ARM-bcm2835-mbox-Remove-response-valid-check.patch
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-01-14 17:00:23 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2020-01-14 17:13:19 +0100
commit3200af2276426f5f9787f975b8dc27969b6a3d36 (patch)
tree11b1f653b930d3eb7a8d2b555a81f88b29b87b32 /configs/platform-v7a/patches/barebox-2020.01.0/0011-ARM-bcm2835-mbox-Remove-response-valid-check.patch
parentce5acf4bfd25d7220e71befd86d6b4e1086273ed (diff)
downloadDistroKit-3200af2276426f5f9787f975b8dc27969b6a3d36.tar.gz
DistroKit-3200af2276426f5f9787f975b8dc27969b6a3d36.tar.xz
platform-v7a: barebox: version bump 2019.12.0 -> 2020.01.0
barebox v2020.01.0 has just been released. Rebase the patch stack, oldconfig the configs and use it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/patches/barebox-2020.01.0/0011-ARM-bcm2835-mbox-Remove-response-valid-check.patch')
-rw-r--r--configs/platform-v7a/patches/barebox-2020.01.0/0011-ARM-bcm2835-mbox-Remove-response-valid-check.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/configs/platform-v7a/patches/barebox-2020.01.0/0011-ARM-bcm2835-mbox-Remove-response-valid-check.patch b/configs/platform-v7a/patches/barebox-2020.01.0/0011-ARM-bcm2835-mbox-Remove-response-valid-check.patch
new file mode 100644
index 0000000..3bcf32d
--- /dev/null
+++ b/configs/platform-v7a/patches/barebox-2020.01.0/0011-ARM-bcm2835-mbox-Remove-response-valid-check.patch
@@ -0,0 +1,29 @@
+From: Sascha Hauer <s.hauer@pengutronix.de>
+Date: Tue, 7 Jan 2020 10:45:35 +0100
+Subject: [PATCH] ARM: bcm2835 mbox: Remove response valid check
+
+Not all messages return a valid response as they do not send a response
+at all. This is at least true for the SET_GPIO_STATE and SET_GPIO_CONFIG
+messages.
+
+Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
+---
+ arch/arm/mach-bcm283x/mbox.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/arch/arm/mach-bcm283x/mbox.c b/arch/arm/mach-bcm283x/mbox.c
+index b295993359fa..4405efaffd39 100644
+--- a/arch/arm/mach-bcm283x/mbox.c
++++ b/arch/arm/mach-bcm283x/mbox.c
+@@ -137,11 +137,6 @@ int bcm2835_mbox_call_prop(u32 chan, struct bcm2835_mbox_hdr *buffer)
+ tag = (void *)(buffer + 1);
+ tag_index = 0;
+ while (tag->tag) {
+- if (!(tag->val_len & BCM2835_MBOX_TAG_VAL_LEN_RESPONSE)) {
+- printf("mbox: Tag %d missing val_len response bit\n",
+- tag_index);
+- return -EIO;
+- }
+ /*
+ * Clear the reponse bit so clients can just look right at the
+ * length field without extra processing