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 D1915C001B0 for ; Sat, 15 Jul 2023 15:05:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 332D186272; Sat, 15 Jul 2023 17:04:06 +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="WW/iL5Qo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ADDCF8634D; Sat, 15 Jul 2023 17:03:59 +0200 (CEST) Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (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 2F3FB862E9 for ; Sat, 15 Jul 2023 17:03: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=trini@konsulko.com Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-6b9cf4739d9so113882a34.0 for ; Sat, 15 Jul 2023 08:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1689433436; x=1692025436; 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=ZcjJjulwcGdmUuPVq4Bj8mZFj4s+lYDhliJ7n8tWRKA=; b=WW/iL5QotcwnNpzfqrLJZLv/61sFvoedvkI0MWyyz5L8R9UxHD44lWcfpN5gDWU7s9 /GxRwhOiJfOy+kv5BsKxlCyI2vQ6jDRNwmrbmQaPSSwqs7CzqGQ5BJlZmc/JbDr5BIEn sWtXfJBj8MPB2KAmp/PfzGLkS2xPlGnIBpWTU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689433436; x=1692025436; 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=ZcjJjulwcGdmUuPVq4Bj8mZFj4s+lYDhliJ7n8tWRKA=; b=V671mShia2S0l/ktFdV+AUzAXS1WaLns2RAEAfeiwDXSX7xyMwUlm5AxLhGbN/ekaw Lh+wwnNA45eABqKK4LpNgOYe42hR73qoKmf9+COpcOZSbwl0LehgGt8+OG2mjx+wu+sN ZC6Bx87PrKgsll9km1PNR14/lYh0i7zLdcl1RlIQx9VM6powsJ6o110FkjQAqJ0F3fiF fVXd8v5soxDi83eQWW+b6ahHKubLtcb2WCEUnFwFs8oVMwFDYNX78KWP6Nxuyx2pHtco glaumPl3LXhMW0xQ4fE0gcyO4UrtpAS5RqNv+hbNnCGbKrddEHLBly590/HBBelw/zDj tvRA== X-Gm-Message-State: ABy/qLatN0oVe4WTlcbsfKP5p8VFObVukSWmBQPVT6egC5V1mgD0zWhQ afwj9+L7J26qAVw02BAmttdkfw== X-Google-Smtp-Source: APBJJlHuz7jrGiBZoiJmcmcC46em2avxlf/v3YXMwnM7gzvl84DlL5ulquzSfysZ/uKJnifCsCZIlg== X-Received: by 2002:a05:6358:70c:b0:134:e503:dfb3 with SMTP id e12-20020a056358070c00b00134e503dfb3mr7808709rwj.4.1689433435544; Sat, 15 Jul 2023 08:03:55 -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 83-20020a251656000000b00be8e8772025sm2285957ybw.45.2023.07.15.08.03.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jul 2023 08:03:55 -0700 (PDT) Date: Sat, 15 Jul 2023 11:03:53 -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: <20230715150353.GN2066889@bill-the-cat> References: <20230709130958.7666-1-ashok.reddy.soma@amd.com> <20230709130958.7666-2-ashok.reddy.soma@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0Gf/ec0TksLVVw1b" Content-Disposition: inline In-Reply-To: <20230709130958.7666-2-ashok.reddy.soma@amd.com> 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 --0Gf/ec0TksLVVw1b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 09, 2023 at 07:09:57AM -0600, Ashok Reddy Soma wrote: > 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_cleanup' > 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: 8485 > 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 errors. >=20 > Signed-off-by: Ashok Reddy Soma Applied to u-boot/master, thanks! --=20 Tom --0Gf/ec0TksLVVw1b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmSytVkACgkQFHw5/5Y0 tyyDAgv+L7MjfSWq4hv6RDULWkYlHn3PDJQSbJzQX8+t8fijKJyvSLE+Q7yTSQqz /GNN0y3dc+12S+YjVLD14jNz3D0tI+C7L0Vlr454camWtmos2iqVceNi+aBPHu4h jWvXDsHRB3susKK1twuM0TWYO1cMlbnF/2HceB/iS9acC/M0zqCCuMUO4uCJnxz/ JsQzRVHChcAlCY58+KdrxLVThyLgnEBIj/c7pVt6e8/QjvEoa4ixH+si5ODotMwF ArD+b7lDkYxwivX/spifDp/ou+fZ5Xn6Lfz6UT5Smpk+LfLGXupv7/3pg5zZTR30 2pDVh3dm2lGxCD6+kR/lH8Gx2F7Xy3lYWYktmkfhhbTnrMlAvFazhMzA2sFuQpE+ HPRy4sdu4aedtJykoyRy8k/USYGJsrEnCyhsKWbyqX5P+xlL32O46Y6Qfm6wyZFQ 3kLmYdf32v6KqzwqjOxm6LyrcJQYfhb50xMu+Rh1LbqA4lZuInNFg3M4ji+qU7ho efy5RYom =5zad -----END PGP SIGNATURE----- --0Gf/ec0TksLVVw1b--