1 From 7d87d3dafc4b1ea5659eb71ee6c5fd5308490d1f Mon Sep 17 00:00:00 2001
2 From: Oskari Lemmela <oskari@lemmela.net>
3 Date: Mon, 31 Dec 2018 07:44:49 +0200
4 Subject: [PATCH] arm64: allwinner: a64-sopine: Add Sopine flash partitions.
6 First 896kB to u-boot. Enough space for SPL, u-boot and ATF.
7 Next 128kB to u-boot environment and rest to firmware.
9 Firmware partition is compatible FIT image dynamic splitting.
11 Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
13 .../boot/dts/allwinner/sun50i-a64-sopine.dtsi | 22 +++++++++++++++++++
14 1 file changed, 22 insertions(+)
16 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
17 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
19 compatible = "jedec,spi-nor";
21 spi-max-frequency = <40000000>;
24 + compatible = "fixed-partitions";
25 + #address-cells = <1>;
30 + reg = <0x000000 0x0E0000>;
34 + label = "u-boot-env";
35 + reg = <0x0E0000 0x020000>;
39 + compatible = "denx,fit";
41 + reg = <0x100000 0xF00000>;