mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
9883d5d084
These patches are already in mainline 5.4 kernel: * 010-v5.3-drivers-ata-ahci_sunxi-Increased-SATA-AHCI-DMA-TX-RX.patch * 101-arm64-dts-allwinner-a64-Enable-A64-timer-workaround.patch Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
47 lines
1.2 KiB
Diff
47 lines
1.2 KiB
Diff
From 7d87d3dafc4b1ea5659eb71ee6c5fd5308490d1f Mon Sep 17 00:00:00 2001
|
|
From: Oskari Lemmela <oskari@lemmela.net>
|
|
Date: Mon, 31 Dec 2018 07:44:49 +0200
|
|
Subject: [PATCH] arm64: allwinner: a64-sopine: Add Sopine flash partitions.
|
|
|
|
First 896kB to u-boot. Enough space for SPL, u-boot and ATF.
|
|
Next 128kB to u-boot environment and rest to firmware.
|
|
|
|
Firmware partition is compatible FIT image dynamic splitting.
|
|
|
|
Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
|
|
---
|
|
.../boot/dts/allwinner/sun50i-a64-sopine.dtsi | 22 +++++++++++++++++++
|
|
1 file changed, 22 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
|
|
@@ -82,6 +82,28 @@
|
|
compatible = "jedec,spi-nor";
|
|
reg = <0>;
|
|
spi-max-frequency = <40000000>;
|
|
+
|
|
+ partitions {
|
|
+ compatible = "fixed-partitions";
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <1>;
|
|
+
|
|
+ partition@0 {
|
|
+ label = "u-boot";
|
|
+ reg = <0x000000 0x0E0000>;
|
|
+ };
|
|
+
|
|
+ partition@e0000 {
|
|
+ label = "u-boot-env";
|
|
+ reg = <0x0E0000 0x020000>;
|
|
+ };
|
|
+
|
|
+ partition@100000 {
|
|
+ compatible = "denx,fit";
|
|
+ label = "firmware";
|
|
+ reg = <0x100000 0xF00000>;
|
|
+ };
|
|
+ };
|
|
};
|
|
};
|
|
|