From 04371e1b6688bc7dd213f1badf1ca31f381f070d Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 25 Jul 2022 14:04:45 +0200 Subject: 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 Link: https://lore.pengutronix.de/20220725120445.1295669-8-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel --- configs/platform-v7a/barebox-vexpress.config.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/platform-v7a/barebox-vexpress.config.diff') 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 -- cgit v1.2.3