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 26F99C001E0 for ; Sat, 15 Jul 2023 15:05:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA33C8622C; Sat, 15 Jul 2023 17:04:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="rYhFgkz5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8AA78861A1; Sat, 15 Jul 2023 17:04:56 +0200 (CEST) Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 066248634D for ; Sat, 15 Jul 2023 17:04:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-5774098f16eso29279297b3.0 for ; Sat, 15 Jul 2023 08:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1689433493; x=1692025493; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ke/MT1ZOxdqEGMxAGy+OPghfaKm5ojz/rDiwwwShXqc=; b=rYhFgkz5yp5JyZHEBpZVNaMVmAsnKSwjdJYNh4lGeMXT28yeTIIFngrp/1cONbiLAy fHC0BpTRFqLkwAJflRqP9gb43hKkvY83TeF2YqtdYztjXktyt+g+ePSvrFshViiRJXPI OR3pspTc+yF+TYBZ/aKMEtm6W7zKQ4pCYAEMk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689433493; x=1692025493; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ke/MT1ZOxdqEGMxAGy+OPghfaKm5ojz/rDiwwwShXqc=; b=GqjZ5Wglsu/rwtn4AgvNDkgTMpRuJWaOFU0os5TCqWdZ0e58HueStFl/kQHxArPc0a 0DJ+1p5KyOk1M2nNEM1UJ/0ZrSY4T886Gcd9B0HaM9OjaUn6XLYyL7PIbZOR9UQfXVLO ZoQWKV26s99dLHMAgFW+MedPZLyAHGTGtdhdikTNMhpu3Hw7Yq0s57PD8vMNIJHCJN3D WSOCzsEJF5PrDhvWEl98SnK/mjNEPLKFw/4RXJlQlypzKAQmzzhjiDGJ8cZbdx3Gur4X hTm4ey6Vj16iAAydA+HqBHUiLGneuQs8CE9bgcfwo1MhXNMjD2SU3U7Ebzi0KbwECVLv GuMg== X-Gm-Message-State: ABy/qLaDe7N2J1I5VHMleM+XC8IqAOmFzsbPkTqZVcS81mf4y9UH3zen nVADektafVniniCkiMENcw54KA== X-Google-Smtp-Source: APBJJlEWb5cDrzgmJYDExT1ZAMOfIXHzludVrzLIglHTx3F8A5zCclGJzbg35eglo6gvwNsJ5hlMYA== X-Received: by 2002:a0d:f5c6:0:b0:56d:3b91:7e78 with SMTP id e189-20020a0df5c6000000b0056d3b917e78mr8553589ywf.20.1689433492755; Sat, 15 Jul 2023 08:04:52 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-2ff3-b443-1227-0d00.res6.spectrum.com. [2603:6081:7b00:6400:2ff3:b443:1227:d00]) by smtp.gmail.com with ESMTPSA id c23-20020a814e17000000b0057726fce046sm2846274ywb.26.2023.07.15.08.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jul 2023 08:04:52 -0700 (PDT) Date: Sat, 15 Jul 2023 11:04:50 -0400 From: Tom Rini To: Ashok Reddy Soma Cc: u-boot@lists.denx.de, sjg@chromium.org, xypron.glpk@gmx.de, ilias.apalodimas@linaro.org, rfried.dev@gmail.com, seanedmond@microsoft.com, tobias@waldekranz.com, sr@denx.de, john@metanate.com, michal.simek@amd.com, git@amd.com Subject: Re: [PATCH 1/2] cmd: thordown: Add proper dependency for CMD_THOR_DOWNLOAD Message-ID: <20230715150450.GO2066889@bill-the-cat> References: <20230709130958.7666-1-ashok.reddy.soma@amd.com> <20230709130958.7666-2-ashok.reddy.soma@amd.com> <20230715150353.GN2066889@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lh5gexiDa2ALbrd0" Content-Disposition: inline In-Reply-To: <20230715150353.GN2066889@bill-the-cat> X-Clacks-Overhead: GNU Terry Pratchett 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 --lh5gexiDa2ALbrd0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 15, 2023 at 11:03:53AM -0400, Tom Rini wrote: > On Sun, Jul 09, 2023 at 07:09:57AM -0600, Ashok Reddy Soma wrote: >=20 > > When CONFIG_CMD_USB and CONFIG_USB are disabled some compilation errors > > are seen as below. > >=20 > > cmd/thordown.o: in function `usb_gadget_initialize': > > include/linux/usb/gadget.h:981: undefined reference to `board_usb_init' > > cmd/thordown.o: in function `do_thor_down': > > cmd/thordown.c:68: undefined reference to `g_dnl_unregister' > > cmd/thordown.o: in function `usb_gadget_release': > > include/linux/usb/gadget.h:986: undefined reference to `board_usb_clean= up' > > cmd/thordown.o: in function `do_thor_down': > > cmd/thordown.c:41: undefined reference to `g_dnl_register' > > cmd/thordown.c:48: undefined reference to `thor_init' > > cmd/thordown.c:56: undefined reference to `thor_handle' > > gnu/aarch64/lin/aarch64-linux/bin/aarch64-linux-gnu-ld.bfd: line 4: 84= 85 > > Segmentation fault (core dumped) $CC --sysroot=3D$LIBC > > --no-warn-rwx-segment "$@" > > Makefile:1779: recipe for target 'u-boot' failed > > make: *** [u-boot] Error 139 > > make: *** Deleting file 'u-boot' > >=20 > > Add dependency of CMD_USB for CONFIG_CMD_THOR_DOWNLOAD to fix the error= s. > >=20 > > Signed-off-by: Ashok Reddy Soma >=20 > Applied to u-boot/master, thanks! No, no I didn't apply this still, I just forgot to remove it from the bundle before making all the applied messages. At least I'm not also tagging a release today, sigh. --=20 Tom --lh5gexiDa2ALbrd0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmSytZIACgkQFHw5/5Y0 tywAtgv+LD5KgAmQZ2StKDnN4RMdvbiXfGsNzBM7N9cePNomtiwWe/w0F2VE4/bn fJAhVhHzBDTxoBvcCvzzIxhTI9eJzobKbUdY9uHOa5ov/Ax5g8aUgxw8X0rOGL7t PjDl4pRLetWsKoruxsSHeNrc9x9hFEjVfStb3QV4Nf2+HZ0M2Vo68iBDKuFT2ZUa 6D3oNdvgr9fHT7mamUC+bg/jLmF4Bbti+uXxGxSq2ofCevR/dRAra3MUZ6iLG6Ck MVnh0cuaTX4y8hGqigiVk2wBeaJnOVWtzZIq4MWkXd3gzLbgVlUYylLLTb0IXvZu WkUkFGr/gIwskglIRhSAhFspAsOnuB1DJD9RiCwSqmhM0BCEoNkhZwquIDr9UCX9 uFG74nRF8/ahJRHctdI7rGAyf9Z7V6xR4SEQYopL9l9M9CMHJosVcBOh66nQ9jtU 3/rdhwALXbhoTKvx2Bhh55iQw2wq8ebUAsYQiS9kzkOMFHuAFGvetVmLsgRur6c6 XK3WMBRx =LNsi -----END PGP SIGNATURE----- --lh5gexiDa2ALbrd0--