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 7AE51C76196 for ; Thu, 6 Apr 2023 18:56:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3C7FC8610B; Thu, 6 Apr 2023 20:56:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="WXcOyXb7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0DC23860C8; Thu, 6 Apr 2023 20:55:58 +0200 (CEST) Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) (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 A1FD685FF5 for ; Thu, 6 Apr 2023 20:55:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjoerd@collabora.com Received: from beast.luon.net (unknown [IPv6:2a10:3781:2531:1:a28c:fdff:fed8:b41f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sjoerd) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3C41566031CD; Thu, 6 Apr 2023 19:55:48 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680807348; bh=BrSC3r5CdwE9t/MGlcsNquFsl+vnxku8gcxZJJu9F7M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WXcOyXb7uaBwNc99TStFqN23AMhWqb0xD95lybtUq/ieRuiyrno0KGj7zOqFvPf7h ldHLA13d4t8UvOUCTpNJZKJtd2fmTuNiHVh2npt2awEcQd1JnwiId/wk7LmA7SVe+j XXK70Vd4LwFoeX9DZRnbsoNeF0b0JBfX3kHFk27cUkvGK4lH2u05kh/9L9dZp77Vie YZxIu2+8q+G59EbJOYwgLU+PHZBheqZRAhWGyCyMI6s2aFR2I89dzCJkR561XbB80R NI0dONctUQXeIRDGmW/LexdiwAj78rbNQwUvKZ0pCMxvty69qFhkjRqj/cALXD/js+ CFFpOjMw1KLNw== Received: by beast.luon.net (Postfix, from userid 1000) id 0E2DF7DBB608; Thu, 6 Apr 2023 20:55:45 +0200 (CEST) From: Sjoerd Simons To: u-boot@lists.denx.de Cc: Dave Gerlach Subject: [PATCH v2 6/8] configs: am62: Add configs for enabling USB in U-Boot Date: Thu, 6 Apr 2023 20:55:40 +0200 Message-Id: <20230406185542.1179073-7-sjoerd@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230406185542.1179073-1-sjoerd@collabora.com> References: <20230406185542.1179073-1-sjoerd@collabora.com> 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.8 at phobos.denx.de X-Virus-Status: Clean Add configs for enabling USB DFU in U-Boot. Signed-off-by: Sjoerd Simons --- Changes in v2: - Minimize config changes to just DFU configuration include/configs/am62x_evm.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/configs/am62x_evm.h b/include/configs/am62x_evm.h index 7bf07809b05..d07da4ebae4 100644 --- a/include/configs/am62x_evm.h +++ b/include/configs/am62x_evm.h @@ -11,6 +11,7 @@ #include #include +#include /* DDR Configuration */ #define CFG_SYS_SDRAM_BASE1 0x880000000 @@ -38,9 +39,16 @@ DISTRO_BOOT_DEV_PXE(func) \ DISTRO_BOOT_DEV_DHCP(func) +#define EXTRA_ENV_DFUARGS \ + DFU_ALT_INFO_MMC \ + DFU_ALT_INFO_EMMC \ + DFU_ALT_INFO_RAM \ + DFU_ALT_INFO_OSPI + /* Incorporate settings into the U-Boot environment */ #define CFG_EXTRA_ENV_SETTINGS \ - BOOTENV + BOOTENV \ + EXTRA_ENV_DFUARGS /* Now for the remaining common defines */ #include -- 2.40.0