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 5A2EFC433EF for ; Wed, 13 Jul 2022 14:19:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7F5168400A; Wed, 13 Jul 2022 16:19:25 +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="NwnJaW5B"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BC0A483FE8; Wed, 13 Jul 2022 16:19:22 +0200 (CEST) Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (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 7E3EA83C91 for ; Wed, 13 Jul 2022 16:19:19 +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-qv1-xf2a.google.com with SMTP id nd6so4909835qvb.6 for ; Wed, 13 Jul 2022 07:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=eQOX7cELl0tmytzYC7qESUy/hIb/zJcB8I/oqT9bNcg=; b=NwnJaW5BDn/i4atscTN11mL79YuF03CSUC11rwZaq5l7rHOQcYZhQ+ikaBq5EddgsJ nFU67maHo9LzZMSjLQtuv/XeOMOsUF9wnHOaOhcJkM7exV9HYCV2tFHli3DVstpMgIQ/ PY5E1oP1VR38p1jZdWt/BdMWC2iqvbDTXiVFY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eQOX7cELl0tmytzYC7qESUy/hIb/zJcB8I/oqT9bNcg=; b=gl/abzzQX1A+SxIZERc5z6y8tiiNRvslhrGIF7IxVYWAjyxZW+AugA4CkJ1BFZVzz8 gBqfaFpoN+1ugJwimLrwAFLGz4bkyZ+HivDqPP9MtJMZEqfgX+rGQ3ZeLnzJuR7cgD9v ssd7pbid5XMa8DLzsdl6YIVtUefKg0QqooI37a2mwqVTF4pC7HmLE+uxZJqrx23ZLreF nuM45RWMDLpyWBSCSgUX2IrWyxl+pBVkcKxlhYuscVM5agWWIej8WNz0spmisG1l0ab2 jXy4t4HpfD6ZkyepwlRSZc4lilbg7Ns08Ouky1L2YpOIWHL6TQ3lkijGcCfd9r9aKu2H m4gg== X-Gm-Message-State: AJIora/HDWHXbTnCmw4dWDqPr1dfqSKONIdN0PURgkEfN3QdkLiGxAKr t35Y5S2uhuddwzii4U4NJ7DpxUiIGNiN2A== X-Google-Smtp-Source: AGRyM1uY8ETFA0j14uOjCfBlDJS9HfXY33y7i2jw5gy1aknBBxBqopycwCFouPyii7tewUfYbAozgw== X-Received: by 2002:a05:6214:1d29:b0:473:52fa:e550 with SMTP id f9-20020a0562141d2900b0047352fae550mr3441607qvd.38.1657721958050; Wed, 13 Jul 2022 07:19:18 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id r23-20020ae9d617000000b006b5bb9c07d0sm921834qkk.44.2022.07.13.07.19.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 07:19:17 -0700 (PDT) Date: Wed, 13 Jul 2022 10:19:15 -0400 From: Tom Rini To: Matt Ranostay Cc: u-boot@lists.denx.de, Suman Anna , Neha Francis Subject: Re: [PATCH] armv8: mach-k3: correct define checking for AM625/AM642 memory maps Message-ID: <20220713141915.GC1146598@bill-the-cat> References: <20220713114936.9240-1-mranostay@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xdMY6OA9KGvwrZs5" Content-Disposition: inline In-Reply-To: <20220713114936.9240-1-mranostay@ti.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.6 at phobos.denx.de X-Virus-Status: Clean --xdMY6OA9KGvwrZs5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 13, 2022 at 04:49:36AM -0700, Matt Ranostay wrote: > Using CONFIG_IS_ENABLED breaks accessing memory map structure when > doing a A53 SPL build for AM625 and AM642 platforms. This is due to > 'abc if CONFIG_SPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y'' > in which there is no CONFIG_SPL_SOC_K3_AM625/CONFIG_SPL_SOC_K3_AM642 > defined in the configuration. >=20 > For the A53 SPL builds on these platform to access the memory mapping > which it will need for enabling the mmu/cache it must use #if defined(X) > checks and not CONFIG_IS_ENABLED. >=20 > Cc: Suman Anna > Cc: Neha Francis > Signed-off-by: Matt Ranostay Reviewed-by: Tom Rini --=20 Tom --xdMY6OA9KGvwrZs5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLO1F0ACgkQFHw5/5Y0 tyzOJwv/Y3S8SaGqdGEukk9p/3VzPR9He0K1kw3fhL/zRQlZUbtHqyN1AGSbygfe xQ7D2JX3pZeAwMtRyy93b+kSVU7kH+LLZFFHisq5sjwEIPMhIVUkEXNwllQJNjf9 XhmblaeYJbjdOZ5HUXA+EeUlTh23huwFlOBiNFrw7U2cGoXai1wdWkalro2kXyDV VQoKJJ0LbF2+kZ2jjLrozS3PRhI5JaDT8qm+WnDiqVRZdnYdx/raYNFfoILa+plC 2oy1MF5adsww09Hds2+UMzxnTt1dw84ZsnkoyE2m7bZt7WXjlIqxdqZllDF+SPtt yJmwEsrGi05L2Gd+hIRZzR7L8mYEOxhvZ5tcg6ySTis59dFvIWhNqYYKz3sMfOP9 9Cokh2+C+AIPSyPepHboS9hh8fvAc7u+oW9jmL6ttUzZHBLqkTAqMNHQZC3WIw39 n0uXPJzWbOcA+cOTqH6NoZX7Cjr7xuQZOA/SwxcFY2ukZo2rcHf1JH4G4h+OIH0J /LJ8p0R9 =XpHO -----END PGP SIGNATURE----- --xdMY6OA9KGvwrZs5--