From: Paul Cercueil <paul@crapouillou.net> Date: 2020-05-25 17:42:19
Add memory info of the GCW Zero in its devicetree. The bootloader
generally provides this information, but since it is fixed to 512 MiB,
it doesn't hurt to have it in devicetree. It allows the kernel to boot
without any parameter passed as argument.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
arch/mips/boot/dts/ingenic/gcw0.dts | 6 ++++++
1 file changed, 6 insertions(+)
From: Paul Cercueil <paul@crapouillou.net> Date: 2020-05-25 17:42:26
Add support for the GCW Zero prototype. The only (?) difference is that
it only has 256 MiB of RAM, compared to the 512 MiB of RAM of the retail
device.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
arch/mips/boot/dts/ingenic/gcw0_proto.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 arch/mips/boot/dts/ingenic/gcw0_proto.dts
@@ -0,0 +1,13 @@+// SPDX-License-Identifier: GPL-2.0+/dts-v1/;++#include"gcw0.dts"++/{+model="GCW Zero Prototype";+};++&memory{+/* Prototype has only 256 MiB of RAM */+reg=<0x00x10000000>;+};
From: Paul Cercueil <paul@crapouillou.net> Date: 2020-05-25 17:42:33
Having a generic board option makes it possible to create a kernel that
will run on various Ingenic SoCs, as long as the right devicetree is
provided.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
arch/mips/jz4740/Kconfig | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Date: 2020-05-27 11:38:24
On Mon, May 25, 2020 at 07:41:53PM +0200, Paul Cercueil wrote:
Add memory info of the GCW Zero in its devicetree. The bootloader
generally provides this information, but since it is fixed to 512 MiB,
it doesn't hurt to have it in devicetree. It allows the kernel to boot
without any parameter passed as argument.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
arch/mips/boot/dts/ingenic/gcw0.dts | 6 ++++++
1 file changed, 6 insertions(+)
applied patch 1-3 to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]