From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 16 Mar 2021 09:07:25 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lM4jd-0002KG-6Z for lore@lore.pengutronix.de; Tue, 16 Mar 2021 09:07:25 +0100 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lM4ja-0000eM-Vz for lore@pengutronix.de; Tue, 16 Mar 2021 09:07:24 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rhX5Op4OxGOWY7Tq5cg2jdjhUg70krfdEziJ0kpAaAQ=; b=KPRR3pDHX+9jO1gB8LvGtEmBq LdxIqjakGvv72ubDi1y9syz+GJSGKTrMegvevMG07ur7HlnnIG/x3YCFpEL+QisAjXsLsj7qr3kmH 87amNla/ScwDO6JqHcweLoVh5bmjWhJxVHVjLaWVobqSHzE2PNo0mPbqOi9X7DbaZrHpruh/HLfge dVcG/MZr7MzwgnWLz5vCqaexJpejLVy+5Kotu0e6MJdOCjLsfigC4JK8+/GATG9fFzOxEhQNC3Ta8 CAoGbWrzbNZ+b3PUsDEy3YtLB18g9sMMDc/CXs8Hg9T0Vpwm8V9GcUrBnrCZX/Bmq5snTr4OqaMVO 5stU/0aIw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lM4iY-0004zh-1t; Tue, 16 Mar 2021 08:06:18 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lM4hb-0004bU-0F for barebox@lists.infradead.org; Tue, 16 Mar 2021 08:05:23 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lM4hS-0007xy-2K; Tue, 16 Mar 2021 09:05:10 +0100 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lM4hQ-0006Ce-WE; Tue, 16 Mar 2021 09:05:09 +0100 From: Ahmad Fatoum To: barebox@lists.infradead.org Date: Tue, 16 Mar 2021 09:04:47 +0100 Message-Id: <20210316080505.19361-3-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210316080505.19361-1-a.fatoum@pengutronix.de> References: <20210316080505.19361-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210316_080519_598154_18E23D49 X-CRM114-Status: GOOD ( 10.15 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum , rcz@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" X-SA-Exim-Connect-IP: 2001:8b0:10b:1:d65d:64ff:fe57:4e05 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH v2 02/20] images: make BOARD_ARM_GENERIC_DT available for other arches X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) Other architectures would benefit from the generic DT image too. Add a new arch-agnostic symbol that arches besides ARM can select. The new symbol itself should not have a prompt as the help text for each architecture likely differs (e.g. device tree handoff register). Signed-off-by: Ahmad Fatoum --- arch/arm/Kconfig | 2 +- images/Makefile | 4 ++-- pbl/Kconfig | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a1f781b60f95..3b983c8b3d0a 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -323,7 +323,7 @@ config BOARD_ARM_VIRT select OF_OVERLAY config BOARD_ARM_GENERIC_DT - select LIBFDT + select BOARD_GENERIC_DT select ARM_AMBA depends on HAVE_PBL_MULTI_IMAGES depends on OFDEVICE diff --git a/images/Makefile b/images/Makefile index b8899dcd2a81..84492a154d16 100644 --- a/images/Makefile +++ b/images/Makefile @@ -166,9 +166,9 @@ include $(srctree)/images/Makefile.zynqmp include $(srctree)/images/Makefile.layerscape -pblb-$(CONFIG_BOARD_ARM_GENERIC_DT) += start_dt_2nd +pblb-$(CONFIG_BOARD_GENERIC_DT) += start_dt_2nd FILE_barebox-dt-2nd.img = start_dt_2nd.pblb -image-$(CONFIG_BOARD_ARM_GENERIC_DT) += barebox-dt-2nd.img +image-$(CONFIG_BOARD_GENERIC_DT) += barebox-dt-2nd.img ifdef CONFIG_ARM pblb-$(CONFIG_PBL_SINGLE_IMAGE) += start_pbl diff --git a/pbl/Kconfig b/pbl/Kconfig index 6e8cc3ac04ae..2eea5aef7a30 100644 --- a/pbl/Kconfig +++ b/pbl/Kconfig @@ -40,6 +40,10 @@ config PBL_VERIFY_PIGGY depends on ARM bool +config BOARD_GENERIC_DT + bool + select LIBFDT + config IMAGE_COMPRESSION bool depends on HAVE_IMAGE_COMPRESSION -- 2.29.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox