1. 04 Dec, 2019 3 commits
    • Samuel Holland's avatar
      Reduce space lost to object alignment · ebd6efae
      Samuel Holland authored
      
      
      Currently, sections within .text/.rodata/.data/.bss are emitted in the
      order they are seen by the linker. This leads to wasted space, when a
      section with a larger alignment follows one with a smaller alignment.
      We can avoid this wasted space by sorting the sections.
      
      To take full advantage of this, we must disable generation of common
      symbols, so "common" data can be sorted along with the rest of .bss.
      
      An example of the improvement, from `make DEBUG=1 PLAT=sun50i_a64 bl31`:
        .text   => no change
        .rodata => 16 bytes saved
        .data   => 11 bytes saved
        .bss    => 576 bytes saved
      
      As a side effect, the addition of `-fno-common` in TF_CFLAGS makes it
      easier to spot bugs in header files.
      Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
      Change-Id: I073630a9b0b84e7302a7a500d4bb4b547be01d51
      ebd6efae
    • Samuel Holland's avatar
      imx: Fix multiple definition of ipc_handle · 118a67a9
      Samuel Holland authored
      
      
      This is not conforming C and does not compile with -fno-common.
      Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
      Change-Id: I6535954cc567d6efa06919069b91e3f50975b073
      118a67a9
    • Samuel Holland's avatar
      imx: Fix missing inclusion of cdefs.h · e8bb1c2c
      Samuel Holland authored
      
      
      This was found by compiling with -fno-common:
      
      ./build/picopi/release/bl2/imx_snvs.o:(.bss.__packed+0x0): multiple definition of `__packed';
      ./build/picopi/release/bl2/imx_caam.o:(.bss.__packed+0x0): first defined here
      
      __packed was intended to be the attribute macro from cdefs.h, not an
      object of the structure type.
      Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
      Change-Id: Id02fac3f098be2d71c35c6b4a18012515532f32a
      e8bb1c2c
  2. 03 Dec, 2019 6 commits
    • Manish Pandey's avatar
      87b582ef
    • Manish Pandey's avatar
      f67a2977
    • Manish Pandey's avatar
    • Manish Pandey's avatar
      1c5f90fb
    • Manish Pandey's avatar
      Merge "plat/rockchip: initialize reset and poweroff GPIOs with known invalid... · 45d46115
      Manish Pandey authored
      Merge "plat/rockchip: initialize reset and poweroff GPIOs with known invalid value" into integration
      45d46115
    • Sandrine Bailleux's avatar
      Merge changes from topic "tegra-downstream-092319" into integration · 530a5cbc
      Sandrine Bailleux authored
      * changes:
        Tegra194: add support to reset GPU
        Tegra194: memctrl: fix logic to check TZDRAM config register access
        Tegra: introduce plat_enable_console()
        Tegra: include: drivers: introduce spe.h
        Tegra194: update nvg header to v6.4
        Tegra194: mce: enable strict checking
        Tegra194: CC6 state from last offline CPU in the cluster
        Tegra194: console driver compilation from platform makefiles
        Tegra194: memctrl: platform handler for TZDRAM setup
        Tegra194: memctrl: override SE client as coherent
        Tegra194: save system suspend entry marker to TZDRAM
        Tegra194: helper functions for CPU rst handler and SMMU ctx offset
        Tegra194: cleanup references to Tegra186
        Tegra194: mce: display NVG header version during boot
        Tegra194: mce: fix cg_cstate encoding format
        Tegra194: drivers: SE and RNG1/PKA1 context save support
        Tegra194: rename secure scratch register macros
        Tegra194: SiP: Fix Rule 8.4 and Rule 10.4 violation
        Tegra194: mce: remove unsupported functionality
        Tegra194: sanity check target cluster during core power on
        Tegra194: fix defects flagged by MISRA scan
        Tegra194: mce: fix defects flagged by MISRA scan
        Tegra194: remove the GPU reset register macro
        Tegra194: MC registers to allow CPU accesses to TZRAM
        Tegra194: increase MAX_MMAP_REGIONS macro value
        Tegra194: update nvg header to v6.1
        Tegra194: update cache operations supported by the ROC
        Tegra194: memctrl: platform handlers to reprogram MSS
        Tegra194: core and cluster count values
        Tegra194: correct the TEGRA_CAR_RESET_BASE macro value
        Tegra194: add MC_SECURITY mask defines
        Tegra194: Update wake mask, wake time for cpu offlining
        Tegra194: program stream ids for XUSB
        Tegra194: Update checks for c-state stats
        Tegra194: smmu: fix mask for board revision id
        Tegra194: smmu: ISO support
        Tegra194: Initialize smmu on system suspend exit
        Tegra194: Update cpu core-id calculation
        Tegra194: read-modify-write ACTLR_ELx registers
        Tegra194: Enable fake system suspend
        Tegra194: convert 'target_cpu' and 'target_cluster' to 32-bits
        Tegra194: platform support for memctrl/smmu drivers
        Tegra194: Support for cpu suspend
      530a5cbc
  3. 29 Nov, 2019 1 commit
  4. 28 Nov, 2019 30 commits