diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-07-25 14:04:45 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2022-09-05 16:27:24 +0200 |
commit | 04371e1b6688bc7dd213f1badf1ca31f381f070d (patch) | |
tree | 4892c0be3414c8c28615f5a7ff1c2fd0d28ae441 /configs/platform-v7a/barebox-vexpress.config.diff | |
parent | a07c1ec65915f412e267c1270d467c3459b86357 (diff) | |
download | DistroKit-04371e1b6688bc7dd213f1badf1ca31f381f070d.tar.gz DistroKit-04371e1b6688bc7dd213f1badf1ca31f381f070d.tar.xz |
v7a: barebox: ignore card-detect for booted SD-Card
In remote labs co-located with other hardware, we've observed card
detect levers of different boards to sporadically fail to detect
the card, e.g. because the cable on the usbsdmux was yanked around
by accident. When this happens, barebox usually boots up normally as
the card detect is ignored and then Linux waits indefinitely for
the card-detect to turn active. Add a new config option that can be
enabled to avoid these issues altogether.
We enable this for all configurations, except for barebox-am335x-mlo,
which is size-constrained as it needs to fit into on-chip SRAM
and those 100 extra bytes are deemed too expensive.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-8-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/barebox-vexpress.config.diff')
-rw-r--r-- | configs/platform-v7a/barebox-vexpress.config.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff index f09afd2..f712d6c 100644 --- a/configs/platform-v7a/barebox-vexpress.config.diff +++ b/configs/platform-v7a/barebox-vexpress.config.diff @@ -1,4 +1,4 @@ -ce1ca5fe3cea9cabd6af79b60ecde84b +c2cbf48a6de666e3854240d3b1769aee CONFIG_AMBA_SP804=y # CONFIG_ARCH_BCM283X is not set CONFIG_ARCH_VEXPRESS=y |