Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BA9AC433F5 for ; Sat, 9 Oct 2021 20:42:48 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 60D8460F44 for ; Sat, 9 Oct 2021 20:42:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 60D8460F44 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 440B2836AC; Sat, 9 Oct 2021 22:42:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id B54C483686; Sat, 9 Oct 2021 22:41:51 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6658383686 for ; Sat, 9 Oct 2021 22:41:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=marcel@ziswiler.com Received: from localhost.localdomain ([198.134.98.50]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MZTNi-1mEpeU0fzC-00WYy9; Sat, 09 Oct 2021 22:41:32 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Heiko Thiery , Frieder Schrempf , Fabio Estevam , Stefano Babic , Max Krummenacher , Marcel Ziswiler , Simon Glass Subject: [PATCH v6 08/11] verdin-imx8mm: drop support for v1.0 hardware Date: Sat, 9 Oct 2021 22:41:10 +0200 Message-Id: <20211009204113.1208641-9-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211009204113.1208641-1-marcel@ziswiler.com> References: <20211009204113.1208641-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:F4LP7b0PFpOx+ra3AxUAdFnonfBlepfGVhZ0Ln0jI+6kHx6Ut7h JFvSPJNciIZE5QxTCih6kC0jXp9q8NCcbm3YsUnIl21oLTIHebsmTz2o/gw2bU4Ms2qz0/v hTbV2b/fLG3amw3Mr53L3LWm9mhAvMm1O0prfcHz8zuZt056tZWdDcX5Uad0L7Dhu90fOY2 QEPPrsx73hZbW2HeA4MfQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:GPyYNaIokQo=:EPbQI/qq4bwzHrO2JmsrIa lHhsaSUGFibff5ZBgKdkAcOyrmCLmjNb87D9iQhskmxJZGC8O8O7hhgLHeywL5FgGiUD6oMg8 LjNQqVavl0UEO2Dck5eua34yebxeRdDDMraRliV2En+Wg5ZiaESbzEDez/7lDGisZ8Bg9Zyne 1TsJ0ji7AbdzPAEcwBEcNiRoV/afRZI7pC0fdMtiOkEN3LJasTLo5nvM1UJetqjKUhlbae/Zr SGl260055SHOxgoRu5yW5PwbwX0/XhekgeTIte8QsHaEphT4Ssg90zAXDA66l6hVbI6SDWonz gU7VPzI2JQLJBietCckgeY40+7PGgo5vcSJJgNO1SAQ8TO8pxJyHwJJoNHGiesCUePBCl8bNv XUGMEXBDOJtd0HScMmB4eHfUB74PTmXMhhwHhuycCKsOZhes1+h4tGv1qqyYgB7JCCTXwVC9L 3lJ3B/xSmbpak6SlLAq/qA6KQ7Z2od8vIuQwd8CCYzJD+5g5eznzcxVX4gxxEq2lKz5ZIyzZi ljD24f4AloetCnECSAbGn7wj8xmuZcTr7sTlnHBrpMYbT/iBLa/ZwmiOFQKZ0gmv05Cv8A4Jd ZlBkIJAAvyKma7V0OYRduK0/J4Z6sgnYPqRLtlLqk6RL8nyUUeHwn4y0f5bNsVtrv4QsxPK3U X0TnF7Rfh0uiO0mRKLZMJUr9guiTlGWZNdtJHY0VwnNAFRxPzPaDF9usEDjbGvT8XInbXqa48 O57KH6mnDx3PG94/vYufKLCYiaHGEcs1LYXjOg== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Max Krummenacher We drop support for Verdin iMX8M Mini V1.0B. Related-to: ELB-3551 Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Reviewed-by: Fabio Estevam --- (no changes since v5) Changes in v5: - Re-based on top of u-boot-imx, master yet again. Changes in v4: - Re-based. Changes in v3: - Add Fabio's reviewed-by tag. Changes in v2: - Drop first patch ("imx: mkimage_fit_atf: fix legacy image generation") as a similar fix was already refused earlier. board/toradex/verdin-imx8mm/verdin-imx8mm.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c index 71ceb26e811..c51c99b5156 100644 --- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c +++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -87,17 +88,13 @@ static void select_dt_from_module_version(void) switch (get_pcb_revision()) { case PCB_VERSION_1_0: - printf("Detected a V1.0 module\n"); - if (is_wifi) - strncpy(&variant[0], "wifi", sizeof(variant)); - else - strncpy(&variant[0], "nonwifi", sizeof(variant)); - break; + printf("Detected a V1.0 module which is no longer supported in this BSP version\n"); + hang(); default: if (is_wifi) - strncpy(&variant[0], "wifi-v1.1", sizeof(variant)); + strlcpy(&variant[0], "wifi", sizeof(variant)); else - strncpy(&variant[0], "nonwifi-v1.1", sizeof(variant)); + strlcpy(&variant[0], "nonwifi", sizeof(variant)); break; } -- 2.26.2