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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0663C433EF for ; Fri, 8 Oct 2021 12:42:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3B7C661027 for ; Fri, 8 Oct 2021 12:42:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3B7C661027 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0241983603; Fri, 8 Oct 2021 14:42:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.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=amarulasolutions.com header.i=@amarulasolutions.com header.b="DdaaIALS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2D7B2835A4; Fri, 8 Oct 2021 14:42:03 +0200 (CEST) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 A4939835A4 for ; Fri, 8 Oct 2021 14:41:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@amarulasolutions.com Received: by mail-ed1-x531.google.com with SMTP id p13so36451381edw.0 for ; Fri, 08 Oct 2021 05:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9wKNocBMH+X8KyNDksPUP/yRysdp9bw2smkJllw8JDw=; b=DdaaIALSEG88QeVSOfRswk2rfoKcqLEE5097XxjYax5OlcbFVVEpJHjBihVZC1TTnf 3QX9VBrxHsxdQi0vebA+lLiwXTy0+mwTeTzaMENn5HCfo47qqWXnPxsXNdLYSPPUoIPf jf2Lcrh2VNvY5NygsXPfu9IU7mRW+Kd2EVTT0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9wKNocBMH+X8KyNDksPUP/yRysdp9bw2smkJllw8JDw=; b=1/bev1NtJ1dTRBTcu8PBK0Y1+/YC+bhkSEH/sXYIcdVh82WHu38Am/0HYsIvNT/OYQ yg/5eNwxTLqdM7ccpVfP19DaJunXE/ou8M6P/UBtjIBsarX6RlSVBQXZLiW+AMNMGb8h 2rho4RUfU1I5NjozEL1yPwjZhKHhvoKrVZ/1gcwBpux5dheFeLEZ07bvQPN7GPgdut4O yIGPJrZn47S97SRpbtJWqRFocMH3MKTQKx3SX0umQQSc6L+QDbrHL+pq3P938rdwm8iL 2Ei58+1F3BEVHOwEPRXGbhKOeNjdcK46lISg1kakKa9dilYd8So2VzmWpMDkswhY+v/n AsGA== X-Gm-Message-State: AOAM532be7zE3R8putoKqjgK8rGDsPituZEuiNmraLpHRU+k9xGXj9Iz ZylrtW7iccUX6K3VLYg/mUrs23S6pUOEcJ639PWkoWUikWSPTw== X-Google-Smtp-Source: ABdhPJzAexufNfIJ5dWmZqSUDfiKmHxhD3oSzjkYxHOgF9iNyDRJmLSGBwJT8srlCcjIkf0nxUOvcuxeV9qeMlh/lzE= X-Received: by 2002:a05:6402:5209:: with SMTP id s9mr11059725edd.110.1633696918968; Fri, 08 Oct 2021 05:41:58 -0700 (PDT) MIME-Version: 1.0 References: <20210919214937.3829422-1-sjg@chromium.org> <20210919214937.3829422-4-sjg@chromium.org> In-Reply-To: <20210919214937.3829422-4-sjg@chromium.org> From: Jagan Teki Date: Fri, 8 Oct 2021 18:11:47 +0530 Message-ID: Subject: Re: [PATCH v4 3/5] sf: Tidy up code to avoid #ifdef To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt , Pratyush Yadav , Mike Frysinger Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On Mon, Sep 20, 2021 at 3:19 AM Simon Glass wrote: > > Update this code to use IS_ENABLED() instead. > > Signed-off-by: Simon Glass > > Reviewed-by: Pratyush Yadav > --- > Reviewed-by: Jagan Teki