1. 24 Jul, 2019 2 commits
    • Julius Werner's avatar
      Use explicit-width data types in AAPCS parameter structs · 9352be88
      Julius Werner authored
      
      
      It's not a good idea to use u_register_t for the members of
      aapcs64_params_t and aapcs32_params_t, since the width of that type
      always depends on the current execution environment. This would cause
      problems if e.g. we used this structure to set up the entry point of an
      AArch32 program from within an AArch64 program. (It doesn't seem like
      any code is doing that today, but it's probably still a good idea to
      write this defensively. Also, it helps with my next patch.)
      
      Change-Id: I12c04a85611f2b6702589f3362bea3e6a7c9f776
      Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
      9352be88
    • Julius Werner's avatar
      plat/rockchip: Switch to use new common BL aux parameter library · c1185ffd
      Julius Werner authored
      
      
      This patch changes all Rockchip platforms to use the new common BL aux
      parameter helpers. Since the parameter space is now cleanly split in
      generic and vendor-specific parameters and the COREBOOT_TABLE
      parameter is now generic, the parameter type number for that parameter
      has to change. Since it only affects coreboot which always builds TF as
      a submodule and includes its headers directly to get these constants,
      this should not cause any issues. In general, after this point, we
      should avoid changing already assigned parameter type numbers whenever
      possible.
      
      Change-Id: Ic99ddd1e91ff5e5fe212fa30c793a0b8394c9dad
      Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
      c1185ffd
  2. 18 Jul, 2019 1 commit
    • Julius Werner's avatar
      Introduce lightweight BL platform parameter library · b852d229
      Julius Werner authored
      
      
      This patch adds some common helper code to support a lightweight
      platform parameter passing framework between BLs that has already been
      used on Rockchip platforms but is more widely useful to others as well.
      It can be used as an implementation for the SoC firmware configuration
      file mentioned in the docs, and is primarily intended for platforms
      that only require a handful of values to be passed and want to get by
      without a libfdt dependency. Parameters are stored in a linked list and
      the parameter space is split in generic and vendor-specific parameter
      types. Generic types will be handled by this code whereas
      vendor-specific types have to be handled by a vendor-specific handler
      function that gets passed in.
      
      Change-Id: If3413d44e86b99d417294ce8d33eb2fc77a6183f
      Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
      b852d229
  3. 16 Jul, 2019 1 commit
    • Soby Mathew's avatar
      Merge changes from topic "jc/shift-overflow" into integration · d0d0f171
      Soby Mathew authored
      * changes:
        Enable -Wshift-overflow=2 to check for undefined shift behavior
        Update base code to not rely on undefined overflow behaviour
        Update hisilicon drivers to not rely on undefined overflow behaviour
        Update synopsys drivers to not rely on undefined overflow behaviour
        Update imx platform to not rely on undefined overflow behaviour
        Update mediatek platform to not rely on undefined overflow behaviour
        Update layerscape platform to not rely on undefined overflow behaviour
        Update intel platform to not rely on undefined overflow behaviour
        Update rockchip platform to not rely on undefined overflow behaviour
        Update renesas platform to not rely on undefined overflow behaviour
        Update meson platform to not rely on undefined overflow behaviour
        Update marvell platform to not rely on undefined overflow behaviour
      d0d0f171
  4. 15 Jul, 2019 1 commit
  5. 12 Jul, 2019 18 commits
  6. 11 Jul, 2019 11 commits
  7. 10 Jul, 2019 5 commits
  8. 09 Jul, 2019 1 commit