2
0

015-v6.5-arm64-dts-mt7986-use-size-of-reserved-partition-for-.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. From 1423b4b780adcf3994e63a5988a62d5d1d509bb1 Mon Sep 17 00:00:00 2001
  2. From: Frank Wunderlich <[email protected]>
  3. Date: Sun, 28 May 2023 13:33:42 +0200
  4. Subject: [PATCH 15/19] arm64: dts: mt7986: use size of reserved partition for
  5. bl2
  6. To store uncompressed bl2 more space is required than partition is
  7. actually defined.
  8. There is currently no known usage of this reserved partition.
  9. Openwrt uses same partition layout.
  10. We added same change to u-boot with commit d7bb1099 [1].
  11. [1] https://source.denx.de/u-boot/u-boot/-/commit/d7bb109900c1ca754a0198b9afb50e3161ffc21e
  12. Cc: [email protected]
  13. Fixes: 8e01fb15b815 ("arm64: dts: mt7986: add Bananapi R3")
  14. Signed-off-by: Frank Wunderlich <[email protected]>
  15. Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
  16. Reviewed-by: Daniel Golle <[email protected]>
  17. Link: https://lore.kernel.org/r/[email protected]
  18. Signed-off-by: Matthias Brugger <[email protected]>
  19. ---
  20. .../boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dtso | 7 +------
  21. 1 file changed, 1 insertion(+), 6 deletions(-)
  22. --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dtso
  23. +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dtso
  24. @@ -27,15 +27,10 @@
  25. partition@0 {
  26. label = "bl2";
  27. - reg = <0x0 0x20000>;
  28. + reg = <0x0 0x40000>;
  29. read-only;
  30. };
  31. - partition@20000 {
  32. - label = "reserved";
  33. - reg = <0x20000 0x20000>;
  34. - };
  35. -
  36. partition@40000 {
  37. label = "u-boot-env";
  38. reg = <0x40000 0x40000>;