Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3390703imm; Mon, 8 Oct 2018 03:16:24 -0700 (PDT) X-Google-Smtp-Source: ACcGV60W3OaW6P8S5bIt30OO5oscy4wSm5Xz9x9s79GfoDM2vaxxhQdt48ygxSTrZ8b8XYWnkC/n X-Received: by 2002:a62:384c:: with SMTP id f73-v6mr24353413pfa.242.1538993784410; Mon, 08 Oct 2018 03:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538993784; cv=none; d=google.com; s=arc-20160816; b=j1x57GLZ3omW68Wpd5Bz70+uYGTZVgtzeTb73aRsytBRZwQOxvUO+JtL9GRGiY+dPP Q3S7eF6lVarosMAb41wl9b+WRFXLIanr45snOsycapofOjvT8o9XZAKmw2Qkgc8KD6bf EdA1uGKp5AxM8fU78jf7y6DLK2D2wVD9J3TNb8IwOJqfoxYUeq1IHtxL/nJzfn2XLU1Z IQ99V8tIrxoS1fZQK9wzBUuj5bSWzWe6RIYOxkIfMCOAniEw1D7WVcPoLNrJZCfTiFKu sMFUViSqo4i6L+vp2/k1EtBqFdoIFuuENifuTDrBao4jTlbI67gj3ibcV/NsxuQdA943 dSLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=rch9BLmyWzovr+JWdMaPAQOuZJTe4KX2fHpCAaLOeUo=; b=arKW55YkYWKcrLKRM645YYAC927sJ7vG2tseYMEFJlGuI7T2/BQBJntWSMd6YQBu3j mHL4a/QqCZ4o3xdcMcVePB4aDpRx4rzHhYTTmkclng3pPpCYWdS+AtU1s5//t1DaYHnR Yvm9sfQCYX/rHEfWIZs5i2xSPqfT4y7K8G2Ia4Lb4rvThNoJSU6QbktTAFyKMDfV3W25 74rDF9LpKsgOaH6+9FyUr8zvsW/biFktXV1uproGaawoMWOXnjMvQb8AL7lf9+IW0TsY wIU26fMkoMTP4U/adysHC1DaTu+4Pcq9aav5/++eg0Zx6TSU4Z1f2I13Z+RgIH/66DL5 /6lw== 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 q29-v6si16532205pgm.295.2018.10.08.03.16.09; Mon, 08 Oct 2018 03:16:24 -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 S1727832AbeJHR0g (ORCPT + 99 others); Mon, 8 Oct 2018 13:26:36 -0400 Received: from mail.bootlin.com ([62.4.15.54]:39207 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727449AbeJHR0S (ORCPT ); Mon, 8 Oct 2018 13:26:18 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 21DEB20DD2; Mon, 8 Oct 2018 12:15:17 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (AAubervilliers-681-1-28-153.w90-88.abo.wanadoo.fr [90.88.148.153]) by mail.bootlin.com (Postfix) with ESMTPSA id 0018A20DB5; Mon, 8 Oct 2018 12:14:52 +0200 (CEST) From: Quentin Schulz To: alexandre.belloni@bootlin.com, ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, davem@davemloft.net, andrew@lunn.ch, f.fainelli@gmail.com Cc: allan.nielsen@microchip.com, linux-mips@linux-mips.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, thomas.petazzoni@bootlin.com, antoine.tenart@bootlin.com, Quentin Schulz Subject: [RESEND PATCH v2 5/5] MIPS: mscc: add PCB120 to the ocelot fitImage Date: Mon, 8 Oct 2018 12:14:45 +0200 Message-Id: <20181008101445.25946-6-quentin.schulz@bootlin.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181008101445.25946-1-quentin.schulz@bootlin.com> References: <20181008101445.25946-1-quentin.schulz@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PCB120 and PCB123 are both development boards based on Microsemi Ocelot so let's use the same fitImage for both. Reviewed-by: Alexandre Belloni Signed-off-by: Quentin Schulz --- arch/mips/generic/Kconfig | 6 +++--- arch/mips/generic/Platform | 2 +- ...d-ocelot_pcb123.its.S => board-ocelot.its.S} | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 4 deletions(-) rename arch/mips/generic/{board-ocelot_pcb123.its.S => board-ocelot.its.S} (55%) diff --git a/arch/mips/generic/Kconfig b/arch/mips/generic/Kconfig index 08e33c6b2539..fd6019802657 100644 --- a/arch/mips/generic/Kconfig +++ b/arch/mips/generic/Kconfig @@ -65,11 +65,11 @@ config FIT_IMAGE_FDT_XILFPGA Enable this to include the FDT for the MIPSfpga platform from Imagination Technologies in the FIT kernel image. -config FIT_IMAGE_FDT_OCELOT_PCB123 - bool "Include FDT for Microsemi Ocelot PCB123" +config FIT_IMAGE_FDT_OCELOT + bool "Include FDT for Microsemi Ocelot development platforms" select MSCC_OCELOT help - Enable this to include the FDT for the Ocelot PCB123 platform + Enable this to include the FDT for the Ocelot development platforms from Microsemi in the FIT kernel image. This requires u-boot on the platform. diff --git a/arch/mips/generic/Platform b/arch/mips/generic/Platform index 879cb80396c8..eaa19d189324 100644 --- a/arch/mips/generic/Platform +++ b/arch/mips/generic/Platform @@ -16,5 +16,5 @@ all-$(CONFIG_MIPS_GENERIC) := vmlinux.gz.itb its-y := vmlinux.its.S its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S its-$(CONFIG_FIT_IMAGE_FDT_NI169445) += board-ni169445.its.S -its-$(CONFIG_FIT_IMAGE_FDT_OCELOT_PCB123) += board-ocelot_pcb123.its.S +its-$(CONFIG_FIT_IMAGE_FDT_OCELOT) += board-ocelot.its.S its-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += board-xilfpga.its.S diff --git a/arch/mips/generic/board-ocelot_pcb123.its.S b/arch/mips/generic/board-ocelot.its.S similarity index 55% rename from arch/mips/generic/board-ocelot_pcb123.its.S rename to arch/mips/generic/board-ocelot.its.S index 5a7d5e1c878a..3da23988149a 100644 --- a/arch/mips/generic/board-ocelot_pcb123.its.S +++ b/arch/mips/generic/board-ocelot.its.S @@ -11,6 +11,17 @@ algo = "sha1"; }; }; + + fdt@ocelot_pcb120 { + description = "MSCC Ocelot PCB120 Device Tree"; + data = /incbin/("boot/dts/mscc/ocelot_pcb120.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash@0 { + algo = "sha1"; + }; + }; }; configurations { @@ -19,5 +30,11 @@ kernel = "kernel@0"; fdt = "fdt@ocelot_pcb123"; }; + + conf@ocelot_pcb120 { + description = "Ocelot Linux kernel"; + kernel = "kernel@0"; + fdt = "fdt@ocelot_pcb120"; + }; }; }; -- 2.17.1