079-ARM-BCM5301X-activate-some-additional-options-in-pl3.patch 940 B

1234567891011121314151617181920212223242526272829
  1. From e8ec653c767f56346eb1fadbc07e0706d6dbd56f Mon Sep 17 00:00:00 2001
  2. From: Hauke Mehrtens <hauke@hauke-m.de>
  3. Date: Thu, 14 May 2015 00:38:28 +0200
  4. Subject: [PATCH 3/3] ARM: BCM5301X: activate some additional options in pl310
  5. cache controller
  6. In the default Broadcom SDK the shared override is activated for this
  7. cache controller, do the same in the upstream code. Data and
  8. instruction prefetching is not activated by default for this cache
  9. controller on the bcm53xx SoC, do it manually like it is done in the
  10. vendor SDK.
  11. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  12. ---
  13. arch/arm/boot/dts/bcm5301x.dtsi | 3 +++
  14. 1 file changed, 3 insertions(+)
  15. --- a/arch/arm/boot/dts/bcm5301x.dtsi
  16. +++ b/arch/arm/boot/dts/bcm5301x.dtsi
  17. @@ -78,6 +78,9 @@
  18. compatible = "arm,pl310-cache";
  19. reg = <0x2000 0x1000>;
  20. cache-unified;
  21. + arm,shared-override;
  22. + prefetch-data = <1>;
  23. + prefetch-instr = <1>;
  24. cache-level = <2>;
  25. };
  26. };