[PATCH] [V2]powerpc/dts: fix not include DTC_FLAGS

2021-04-09 Thread Youlin Song
A central rule exists to create `$(obj)/%.dtb` from `$(src)/%.dts`,DTC_FLAGS flag must be used with it. See other architecture and Documentation: arch/microblaze/boot/dts/Makefile Documentation/kbuild/makefiles.rst +1433 Signed-off-by: Youlin Song --- arch/powerpc/boot/Makefile | 2 -- arch

[PATCH] powerpc/dts: fix not include DTC_FLAGS

2021-04-02 Thread Youlin Song
I wanted to build the fsl dts in my machine and found that the dtb have not extra space,so uboot will cause about FDT_ERR_NOSPACE issue. Signed-off-by: Youlin Song --- arch/powerpc/boot/dts/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/boot/dts/Makefile b/arch

[PATCH] powerpc: memblock alloc fixes

2021-03-12 Thread Youlin Song
-by: Youlin Song --- arch/powerpc/kernel/prom.c | 2 ++ arch/powerpc/mm/nohash/fsl_booke.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 9a4797d1d40d..addc05c6f8ff 100644 --- a/arch/powerpc/kernel/prom.c +++ b

[PATCH] powerpc/prom: move the device tree to the right space

2021-03-02 Thread Youlin Song
If the device tree has been allocated memory and it will be in the memblock reserved space.Obviously it is in a valid memory declaration and will be mapped by the kernel. Signed-off-by: Youlin Song --- arch/powerpc/kernel/prom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git