summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/patches
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-09-30 18:21:50 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2022-09-30 18:53:56 +0200
commitccfabc730f929221c374ff40f27c3fc0bea6ab39 (patch)
treed47a2ae25f61fd0f80e3e4fbbe143fc162d6100a /configs/platform-v7a/patches
parent41cfbc0921590d4a81fe56301e06118e426f46c4 (diff)
downloadDistroKit-ccfabc730f929221c374ff40f27c3fc0bea6ab39.tar.gz
DistroKit-ccfabc730f929221c374ff40f27c3fc0bea6ab39.tar.xz
v7a: barebox: version bump v2022.06.0 → v2022.09.0
Th v2022.08.0 release added Raspberry Pi i2c controller support as well as Raspberry Pi 4 support. We enable both here and will put the Raspberry Pi 4 support into use in a follow-up commit. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20220930162159.814389-2-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/patches')
-rw-r--r--configs/platform-v7a/patches/barebox-2022.09.0/0001-mci-add-new-MCI_BROKEN_CD-option-for-testing.patch (renamed from configs/platform-v7a/patches/barebox-2022.06.0/0001-mci-add-new-MCI_BROKEN_CD-option-for-testing.patch)29
-rw-r--r--configs/platform-v7a/patches/barebox-2022.09.0/series (renamed from configs/platform-v7a/patches/barebox-2022.06.0/series)0
2 files changed, 8 insertions, 21 deletions
diff --git a/configs/platform-v7a/patches/barebox-2022.06.0/0001-mci-add-new-MCI_BROKEN_CD-option-for-testing.patch b/configs/platform-v7a/patches/barebox-2022.09.0/0001-mci-add-new-MCI_BROKEN_CD-option-for-testing.patch
index 8d10cf3..3224e99 100644
--- a/configs/platform-v7a/patches/barebox-2022.06.0/0001-mci-add-new-MCI_BROKEN_CD-option-for-testing.patch
+++ b/configs/platform-v7a/patches/barebox-2022.09.0/0001-mci-add-new-MCI_BROKEN_CD-option-for-testing.patch
@@ -1,14 +1,7 @@
-From git@z Thu Jan 1 00:00:00 1970
-Subject: [PATCH v2] mci: add new MCI_BROKEN_CD option for testing
+From f9fa5cf2ba5842a355aa827ac8847ed62eee65d0 Mon Sep 17 00:00:00 2001
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
Date: Mon, 25 Jul 2022 13:58:56 +0200
-Message-Id: <20220725115856.1288819-1-a.fatoum@pengutronix.de>
-To: barebox@lists.infradead.org
-Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
-List-Id: <barebox.lists.infradead.org>
-MIME-Version: 1.0
-Content-Type: text/plain; charset="utf-8"
-Content-Transfer-Encoding: 7bit
+Subject: [PATCH] mci: add new MCI_BROKEN_CD option for testing
In remote labs co-located with other hardware, we've observed card
detect levers of different boards to sporadically fail to detect
@@ -20,10 +13,6 @@ enabled to avoid these issues altogether.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
-v1 -> v2:
- - use early exit instead of if-else
- - don't fail mci_card_probe if of_register_fixup fails
----
drivers/mci/Kconfig | 15 +++++++++++++++
drivers/mci/mci-core.c | 36 ++++++++++++++++++++++++++++++++----
2 files changed, 47 insertions(+), 4 deletions(-)
@@ -55,10 +44,10 @@ index 21d53c0c3f0b..651e59259790 100644
config MCI_DW
diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
-index 82e2f82f5377..4db2253c3a80 100644
+index b8f71e15986e..c6ed6e3d8b79 100644
--- a/drivers/mci/mci-core.c
+++ b/drivers/mci/mci-core.c
-@@ -1727,6 +1727,27 @@ static int mci_register_partition(struct mci_part *part)
+@@ -1739,6 +1739,27 @@ static int mci_register_partition(struct mci_part *part)
return 0;
}
@@ -86,9 +75,9 @@ index 82e2f82f5377..4db2253c3a80 100644
/**
* Probe an MCI card at the given host interface
* @param mci MCI device instance
-@@ -1737,10 +1758,13 @@ static int mci_card_probe(struct mci *mci)
- struct mci_host *host = mci->host;
+@@ -1750,10 +1771,13 @@ static int mci_card_probe(struct mci *mci)
int i, rc, disknum, ret;
+ bool has_bootpart = false;
- if (host->card_present && !host->card_present(host) &&
- !host->non_removable) {
@@ -104,8 +93,8 @@ index 82e2f82f5377..4db2253c3a80 100644
}
ret = regulator_enable(host->supply);
-@@ -1818,6 +1842,10 @@ static int mci_card_probe(struct mci *mci)
- }
+@@ -1839,6 +1863,10 @@ static int mci_card_probe(struct mci *mci)
+ &mci->boot_ack_enable, mci);
}
+ if (IS_ENABLED(CONFIG_MCI_BROKEN_CD) && !host->no_sd &&
@@ -115,8 +104,6 @@ index 82e2f82f5377..4db2253c3a80 100644
dev_dbg(&mci->dev, "SD Card successfully added\n");
on_error:
-
--
2.30.2
-
diff --git a/configs/platform-v7a/patches/barebox-2022.06.0/series b/configs/platform-v7a/patches/barebox-2022.09.0/series
index 0736422..0736422 100644
--- a/configs/platform-v7a/patches/barebox-2022.06.0/series
+++ b/configs/platform-v7a/patches/barebox-2022.09.0/series