Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2474034imm; Mon, 10 Sep 2018 01:32:58 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb0RWCsYd/IAlcZhVoYg3qlW52e7oXlPO2H6T6A+hJklB6tstS8VElQ6mpOZkzxDiJo2zP/ X-Received: by 2002:a63:7b4b:: with SMTP id k11-v6mr21762995pgn.64.1536568378451; Mon, 10 Sep 2018 01:32:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536568378; cv=none; d=google.com; s=arc-20160816; b=DL2KhoShJ5t2K7CZVMmlToAp28ZoAkgCJCfXlyaT7aO3yIcjv2rGOvRbJDIecB+ZTX qlyOGAzBBdmv3tLpdZ6CcPr4MjADrhl64aFo5hAEWc+6g5+u1uuDBECjPZrJ6UjxIm7W SpNv/dvFtVyo7JLK5uBvpYNaKncWfGb91lJUmyA5OcTQ90gacx5Yy7RI8/3cppiPpoBn cbbU25MhhXYcTJOznR7x58l33Z2vn7lXGGJXXDYw4qy3B3LYFN6TFtaQBnXlfcV5KpEh 46aK8fNwcz9sJOtwSDSrJvpdn6g3+9OLAT//YFIWhj6m4V9EWn1XtYihcb68h8HM/2Di 7umA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=Y8puvfjOaR4VfFkTlN1+aLWAQuNPIiysE1hNFutLktY=; b=VBav0jTVclYozhW/3d05+9UpyZMTtrXN89JVjgdnMfNe4SSxJEvH6qUTq8YznNS7mS W4Vi3HLSaNh0HcmahgTwBhhOSMDjqw2KGwSeh/tzlajiZbnvVufLL+jx5uqlvHgMtobW 2MFn//J/dWq6W41iV6sksLIfExA7oEvuNvMaF9y8Ye4Vxft+DYSiIzoHpeR338oVTtJL Fk4TgLsAt92kr0L3NkaB6w3Bln0hsQ4Vx4FetOARLc2z0cWf0F0td2yGP96x7VoFQKSC 7ooxij7weIDkDiqsJcn62WfX/OXofxmjrxQYL2HMxs/iY5nFA6YhKgaaEDGm+K2HSNcY 4DqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12-v6si18039978pfc.349.2018.09.10.01.32.43; Mon, 10 Sep 2018 01:32:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728052AbeIJNYD (ORCPT + 99 others); Mon, 10 Sep 2018 09:24:03 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:34123 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727984AbeIJNYC (ORCPT ); Mon, 10 Sep 2018 09:24:02 -0400 Received: by mail-ed1-f65.google.com with SMTP id u1-v6so15859068eds.1 for ; Mon, 10 Sep 2018 01:31:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y8puvfjOaR4VfFkTlN1+aLWAQuNPIiysE1hNFutLktY=; b=Z7/JkpbdmjfV0+mZMxFMFIIfSJA3fsBQqbvt4pv6BVWgl08sE3QVkdn6qOMi/Oy8xf qKk6qaoK/vCZpw20MN3QlSrtdhcX5dkGDzYLPHfAIBYCCbvqcOhMkYdAXcsHMGH2hBmH PwTkgm2pTMOM2moH1Nrl64zje+n5FcQ8q0slbGLBsufCUJbRAvkN0C6cxy18Yh8RPeYc ZYZNIo9RKQ6ApSe+TXBMZyjZK2WlUBsYnZcfqKY8phsU7GbrWmw0+rizCFhgTnQokWHX H+XYsIxUvlHWx6XYjxnEws2X9Pad1iZHgM649793k0eK74a23kAlyZNdm9ajq5TWQIHI iXyw== X-Gm-Message-State: APzg51D6j9STUJj+IH046hnAEGt3MDlNZ6k5IWdIH6yRevSMmjgkp6YU O8uEWcSksZ6GDyQ2d0WLNPWBmUGDZ0M= X-Received: by 2002:aa7:d391:: with SMTP id x17-v6mr21838943edq.144.1536568267227; Mon, 10 Sep 2018 01:31:07 -0700 (PDT) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com. [74.125.82.54]) by smtp.gmail.com with ESMTPSA id r35-v6sm14155956edr.59.2018.09.10.01.31.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 01:31:06 -0700 (PDT) Received: by mail-wm0-f54.google.com with SMTP id 207-v6so20334310wme.5 for ; Mon, 10 Sep 2018 01:31:06 -0700 (PDT) X-Received: by 2002:a1c:f0a:: with SMTP id 10-v6mr12590486wmp.58.1536568266554; Mon, 10 Sep 2018 01:31:06 -0700 (PDT) MIME-Version: 1.0 References: <20180909190439.20425-1-contact@paulk.fr> In-Reply-To: <20180909190439.20425-1-contact@paulk.fr> From: Chen-Yu Tsai Date: Mon, 10 Sep 2018 16:30:54 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI To: Hans Verkuil Cc: linux-kernel , linux-arm-kernel , linux-sunxi , Maxime Ripard , Paul Kocialkowski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hans, On Mon, Sep 10, 2018 at 3:04 AM Paul Kocialkowski wrote: > > This makes it possible to build the sunxi SRAM driver without building > for the sunxi architecture. This allows selecting the driver when > building the kernel in testing environments. > > In particular, this is necessary for testing of the Cedrus driver, that > selects the sunxi SRAM driver. > > Signed-off-by: Paul Kocialkowski > --- > drivers/soc/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile > index 113e884697fd..446166ba0bec 100644 > --- a/drivers/soc/Makefile > +++ b/drivers/soc/Makefile > @@ -18,7 +18,7 @@ obj-y += qcom/ > obj-y += renesas/ > obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ > obj-$(CONFIG_SOC_SAMSUNG) += samsung/ > -obj-$(CONFIG_ARCH_SUNXI) += sunxi/ > +obj-y += sunxi/ > obj-$(CONFIG_ARCH_TEGRA) += tegra/ > obj-$(CONFIG_SOC_TI) += ti/ > obj-$(CONFIG_ARCH_U8500) += ux500/ > -- > 2.18.0 > Do you want us to merge this on an immutable tag for you to pull? ChenYu