2018-04-25 21:12:33

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH 1/2] mips: xilfpga: stop generating useless dtb.o

a dtb.o is generated from nexys4ddr.dts but this is never used since it has
been moved to mips/generic with commit b35565bb16a5 ("MIPS: generic: Add support
for MIPSfpga")

Signed-off-by: Alexandre Belloni <[email protected]>
---
arch/mips/boot/dts/xilfpga/Makefile | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/mips/boot/dts/xilfpga/Makefile b/arch/mips/boot/dts/xilfpga/Makefile
index 9987e0e378c5..69ca00590b8d 100644
--- a/arch/mips/boot/dts/xilfpga/Makefile
+++ b/arch/mips/boot/dts/xilfpga/Makefile
@@ -1,4 +1,2 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += nexys4ddr.dtb
-
-obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
--
2.17.0



2018-04-25 21:12:18

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH 2/2] mips: xilfpga: actually include FDT in fitImage

Commit b35565bb16a5 ("MIPS: generic: Add support for MIPSfpga") added and
its.S file for xilfpga but forgot to add it to arch/mips/generic/Platform
so it is never used.

Signed-off-by: Alexandre Belloni <[email protected]>
---
arch/mips/generic/Platform | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/mips/generic/Platform b/arch/mips/generic/Platform
index b51432dd10b6..0dd0d5d460a5 100644
--- a/arch/mips/generic/Platform
+++ b/arch/mips/generic/Platform
@@ -16,3 +16,4 @@ 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_XILFPGA) += board-xilfpga.its.S
--
2.17.0


2018-05-14 22:24:37

by James Hogan

[permalink] [raw]
Subject: Re: [PATCH 1/2] mips: xilfpga: stop generating useless dtb.o

On Wed, Apr 25, 2018 at 11:10:35PM +0200, Alexandre Belloni wrote:
> a dtb.o is generated from nexys4ddr.dts but this is never used since it has
> been moved to mips/generic with commit b35565bb16a5 ("MIPS: generic: Add support
> for MIPSfpga")
>
> Signed-off-by: Alexandre Belloni <[email protected]>

Both applied for 4.17, with fixes and stable tag (4.15+).

Thanks
James


Attachments:
(No filename) (399.00 B)
signature.asc (235.00 B)
Download all attachments