1. 09 Dec, 2020 5 commits
  2. 08 Dec, 2020 2 commits
    • Ravi Patel's avatar
      zynqmp: pm: Update flags in common clk divisor node · c8f62536
      Ravi Patel authored
      
      
      Current implementation doesn't support change of div1 value if clk
      has 2 divisor because div1 clk is the parent of the div2 clk and div2
      clk does not have SET_RATE_PARENT flag.
      This causes div1 value to be fixed and only value of div2 will be
      adjusted according to required clock rate.
      
      Example:
       Consider a case of nand_ref clock which has 2 divisor and 1 mux.
       The frequency of mux clock is 1500MHz and default value of div1 and
       div2 is 15 and 1 respectively. So the final clock will be of 100MHz.
       When driver requests 80MHz for nand_ref clock, clock framework will
       adjust the div2 value to 1 (setting div2 value 2 results final clock
       to 50MHz which is more inaccurate compare to 100Mhz) which results
       final clock to 100MHz.
       Ideally the value of div1 and div2 should be updated to 19 and 1
       respectively so that final clock goes to around 78MHz.
      
      This patch fixes above problem by allowing change in div1 value.
      Signed-off-by: default avatarRavi Patel <ravi.patel@xilinx.com>
      Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
      Change-Id: Ibb98f6748d28653fdd1e59bf433b6a37ce9c1a58
      c8f62536
    • Siva Durga Prasad Paladugu's avatar
      zynqmp: pm_api_clock: Copy only the valid bytes · f2afaad0
      Siva Durga Prasad Paladugu authored
      
      
      This patches copies only the valid part of string and
      avoids filling junk at the end.
      Signed-off-by: default avatarSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
      Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
      Change-Id: If23772f31f9cf7f5042e8bfc474fbfe77dcd90e7
      f2afaad0
  3. 07 Dec, 2020 23 commits
  4. 04 Dec, 2020 1 commit
  5. 01 Dec, 2020 2 commits
  6. 30 Nov, 2020 1 commit
  7. 20 Nov, 2020 1 commit
  8. 19 Nov, 2020 5 commits
    • Manish V Badarkhe's avatar
      plat/nvidia: tegra: Rename SMC API · 840fa94a
      Manish V Badarkhe authored
      
      
      Renamed SMC API from "plat_smccc_feature_available" to
      "plat_is_smccc_feature_available" as per the current implementation.
      Signed-off-by: default avatarManish V Badarkhe <Manish.Badarkhe@arm.com>
      Change-Id: Ib0fa400816fba61039c2029a9e127501a6a36811
      840fa94a
    • Saurabh Gorecha's avatar
      plat:qti Mandate SMC implementaion · 7a0f795e
      Saurabh Gorecha authored
      
      
      renamed smcc api with correct name  plat_is_smccc_feature_available
      
      Change-Id: I277ece02bffc2caa065256576c1a047dfcde1c92
      Signed-off-by: default avatarSaurabh Gorecha <sgorecha@codeaurora.org>
      7a0f795e
    • Pali Rohár's avatar
      plat: marvell: Update SUBVERSION to match Marvell's forked version · d22db1b0
      Pali Rohár authored
      
      
      Marvell's TF-A fork has SUBVERSION set to devel-18.12.2.
      
      The only differences between Marvell's devel-18.12.0 and devel-18.12.2
      versions are documentation updates and cherry-picked patches from TF-A
      upstream repository.
      
      So upstream TF-A has already all changes from Marvell's TF-A devel-18.12.2
      fork and therefore update SUBVERSION to reflect this state.
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Change-Id: I5ce946a5176a5cbf124acd8037392463d586b072
      d22db1b0
    • Pali Rohár's avatar
      plat: marvell: armada: Add new target mrvl_bootimage · 91bc2da7
      Pali Rohár authored
      
      
      This new target builds boot-image.bin binary as described in documentation.
      This image does not contain WTMI image and therefore WTP repository is not
      required for building.
      
      Having ability to build just this boot-image.bin binary without full
      flash-image.bin is useful for A3720 Turris MOX board which does not use
      Marvell's WTP and a3700_utils.
      
      To reduce duplicity between a8k and a3k code, define this new target and
      also definitions for $(BUILD_PLAT)/$(BOOT_IMAGE) in common include file
      marvell_common.mk.
      
      For this purpose it is needed to include plat/marvell/marvell.mk file from
      a3700_common.mk unconditionally (and not only when WTP is defined). Now
      when common file plat/marvell/marvell.mk does not contain definition for
      building $(DOIMAGETOOL), it is possible to move its inclusion at the top of
      the a3700_common.mk file.
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Change-Id: Ic58303b37a1601be9a06ff83b7a279cb7cfc8280
      91bc2da7
    • Pali Rohár's avatar
      plat: marvell: armada: a3k: Add support for building $(DOIMAGETOOL) · c6a7ab77
      Pali Rohár authored
      Current binary wtptp/linux/tbb_linux which is specified in $(DOIMAGETOOL)
      variable points to external pre-compiled Marvell x86_64 ELF linux binary
      from A3700-utils-marvell WTP repository.
      
      It means that currently it is not possible to compile TF-A for A3720 on
      other host platform then linux x86_64.
      
      Part of the A3700-utils-marvell WTP repository is also source code of
      $(DOIMAGETOOL) TBB_Linux tool.
      
      This change adds support for building $(DOIMAGETOOL) also for a3k platform.
      
      After running $(MAKE) at appropriate subdirectory of A3700-utils-marvell
      WTP repository, compiled TBB_linux tool will appear in WTP subdirectory
      wtptp/src/TBB_Linux/release/. So update also $(DOIMAGETOOL) variable to
      point to the correct location where TBB_linux was built.
      
      To build TBB_linux it is required to compile external Crypto++ library
      which is available at: https://github.com/weidai11/cryptopp.git
      
      
      
      User needs to set CRYPTOPP_PATH option to specify path to that library.
      
      After this change it is now possible to build whole firmware for A3720
      platform without requirement to use pre-compiled/proprietary x86_64
      executable binaries from Marvell.
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Change-Id: I6f26bd4356778a2f8f730a223067a2e550e6c8e0
      c6a7ab77