From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1C5D4ECAAA1 for ; Mon, 19 Sep 2022 19:41:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8503884C44; Mon, 19 Sep 2022 21:41:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1663616503; bh=ggthOcYEoe5BaKWe7M5YASw5Es+ic+7VmfjvXB0MOcs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=tTyxtpDJgHrxEQYoHEwG+9OOclRTOTFOjSHtlLV44JVykgWDEHuKuuVW6jhK28Lrb zFDs4S9762xLAqUTR5ZnwHyHfVm7zY0i5ReSR/pRRbeADNx2a67YedgRKhnroBXat8 i/VMiK5FvIGJjCP9gF/MneYTgW6rkL7Peo06FEIGRHmri+8fMu+uHi6yxTkJKp1QW3 7AGPDGUkuG6QEyG3z6BvucvhWiSKHo3LXVIWxIjWv+O0pVcIAp5LUkLNyklKcFXzg6 3YHXxd+7jfj6skqCOiVxKBbG8QYNm8uooKwWabajpjVjVbwj0qgz4ekASfblE7QSl+ 1G9JVXHVozgJQ== Received: from tr.lan (ip-86-49-12-201.bb.vodafone.cz [86.49.12.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 1FC4584C3A; Mon, 19 Sep 2022 21:41:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1663616497; bh=ggthOcYEoe5BaKWe7M5YASw5Es+ic+7VmfjvXB0MOcs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0EbJ7oGs2OZwsIdOa/zzZ3KRZflUxiE0+K+58D2ZGrsYJXi/ISmch8hwHqmKv9F9A xbh5LUUfFteySa9W3WehiK4PmHRRXOXnazH26JFHe8TeI+udmL1w7nJnH0lkYYAtGZ uzgpEuvfyMQs5rnGBf03O27QN2JsMI5JZA5+J3SFQxrB5wvoUKVaD1+VRtJju0OxrS hGHBYeWeCqC62bmZPcXt3g0n+KMgsZ+Hw2B0cvfEoOcpt3jJPzmMoH0Stn8i9czUSl WOZwq3k+8Bb0A0tZ+EXpRiuOsSx2LbNtRW2VGUsHMMP0tvHxNpNkuKeeKvrokOIG07 OzaNo2JZkZuLg== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Fabio Estevam , Marcel Ziswiler , Max Krummenacher , Peng Fan , Stefano Babic Subject: [PATCH 3/4] ARM: imx8m: verdin-imx8mm: Drop bogus content from spl_board_init() Date: Mon, 19 Sep 2022 21:41:17 +0200 Message-Id: <20220919194118.105820-3-marex@denx.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220919194118.105820-1-marex@denx.de> References: <20220919194118.105820-1-marex@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean The current implementation of spl_board_init() USB boot handling is not correct, the MX8MM BootROM v1 does not support SDP load when re-entered from U-Boot SPL, it is up to U-Boot to perform the next stage load using its own internal CI gadget driver and SDP protocol implementation. Drop the spl_board_init() to let SPL continue with normal load in case the SDP support is enabled. Signed-off-by: Marek Vasut --- Cc: Fabio Estevam Cc: Marcel Ziswiler Cc: Max Krummenacher Cc: Peng Fan Cc: Stefano Babic --- board/toradex/verdin-imx8mm/spl.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/board/toradex/verdin-imx8mm/spl.c b/board/toradex/verdin-imx8mm/spl.c index 59a3d9e0cae..210665bd6a9 100644 --- a/board/toradex/verdin-imx8mm/spl.c +++ b/board/toradex/verdin-imx8mm/spl.c @@ -54,13 +54,6 @@ void spl_dram_init(void) void spl_board_init(void) { arch_misc_init(); - - /* Serial download mode */ - if (is_usb_boot()) { - puts("Back to ROM, SDP\n"); - restore_boot_params(); - } - puts("Normal Boot\n"); } #ifdef CONFIG_SPL_LOAD_FIT -- 2.35.1