1. 20 Oct, 2020 7 commits
  2. 19 Oct, 2020 1 commit
  3. 18 Oct, 2020 1 commit
  4. 16 Oct, 2020 7 commits
  5. 15 Oct, 2020 3 commits
  6. 14 Oct, 2020 2 commits
  7. 13 Oct, 2020 13 commits
  8. 12 Oct, 2020 6 commits
    • Madhukar Pappireddy's avatar
    • Jimmy Brisson's avatar
      Increase type widths to satisfy width requirements · d7b5f408
      Jimmy Brisson authored
      
      
      Usually, C has no problem up-converting types to larger bit sizes. MISRA
      rule 10.7 requires that you not do this, or be very explicit about this.
      This resolves the following required rule:
      
          bl1/aarch64/bl1_context_mgmt.c:81:[MISRA C-2012 Rule 10.7 (required)]<None>
          The width of the composite expression "0U | ((mode & 3U) << 2U) | 1U |
          0x3c0U" (32 bits) is less that the right hand operand
          "18446744073709547519ULL" (64 bits).
      
      This also resolves MISRA defects such as:
      
          bl2/aarch64/bl2arch_setup.c:18:[MISRA C-2012 Rule 12.2 (required)]
          In the expression "3U << 20", shifting more than 7 bits, the number
          of bits in the essential type of the left expression, "3U", is
          not allowed.
      
      Further, MISRA requires that all shifts don't overflow. The definition of
      PAGE_SIZE was (1U << 12), and 1U is 8 bits. This caused about 50 issues.
      This fixes the violation by changing the definition to 1UL << 12. Since
      this uses 32bits, it should not create any issues for aarch32.
      
      This patch also contains a fix for a build failure in the sun50i_a64
      platform. Specifically, these misra fixes removed a single and
      instruction,
      
          92407e73        and     x19, x19, #0xffffffff
      
      from the cm_setup_context function caused a relocation in
      psci_cpus_on_start to require a linker-generated stub. This increased the
      size of the .text section and caused an alignment later on to go over a
      page boundary and round up to the end of RAM before placing the .data
      section. This sectionn is of non-zero size and therefore causes a link
      error.
      
      The fix included in this reorders the functions during link time
      without changing their ording with respect to alignment.
      
      Change-Id: I76b4b662c3d262296728a8b9aab7a33b02087f16
      Signed-off-by: default avatarJimmy Brisson <jimmy.brisson@arm.com>
      d7b5f408
    • Manish Pandey's avatar
      Merge changes from topic "deprecated-macro" into integration · e180cdba
      Manish Pandey authored
      * changes:
        Makefile: Remove unused macro
        plat: brcm: Remove 'AARCH32' deprecated macro
        Remove deprecated macro from TF-A code
      e180cdba
    • Lionel Debieve's avatar
      drivers: stm32_fmc2_nand: fix boundary check for chip select · 495885bc
      Lionel Debieve authored
      
      
      Chip select is retrieved from device tree and check
      must be done regarding the MAX_CS defined.
      Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
      Reviewed-by: default avatarChristophe KERELLO <christophe.kerello@st.com>
      Change-Id: I03144b133bd51a845a4794f0f6bbd9402fc04936
      495885bc
    • Christophe Kerello's avatar
      drivers: stm32_fmc2_nand: move to new bindings · 0c3e8acb
      Christophe Kerello authored
      
      
      FMC node bindings are modified to add EBI controller node.
      FMC driver and associated device tree files are modified
      to support these new bindings.
      
      Change-Id: I4bf201e96a1aca20957e0dac3a3b87caadd05bdc
      Signed-off-by: default avatarChristophe Kerello <christophe.kerello@st.com>
      Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
      0c3e8acb
    • Manish Pandey's avatar