1. 01 Aug, 2019 1 commit
    • Julius Werner's avatar
      Switch AARCH32/AARCH64 to __aarch64__ · 402b3cf8
      Julius Werner authored
      
      
      NOTE: AARCH32/AARCH64 macros are now deprecated in favor of __aarch64__.
      
      All common C compilers pre-define the same macros to signal which
      architecture the code is being compiled for: __arm__ for AArch32 (or
      earlier versions) and __aarch64__ for AArch64. There's no need for TF-A
      to define its own custom macros for this. In order to unify code with
      the export headers (which use __aarch64__ to avoid another dependency),
      let's deprecate the AARCH32 and AARCH64 macros and switch the code base
      over to the pre-defined standard macro. (Since it is somewhat
      unintuitive that __arm__ only means AArch32, let's standardize on only
      using __aarch64__.)
      
      Change-Id: Ic77de4b052297d77f38fc95f95f65a8ee70cf200
      Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
      402b3cf8
  2. 08 Nov, 2018 1 commit
    • Antonio Nino Diaz's avatar
      Standardise header guards across codebase · c3cf06f1
      Antonio Nino Diaz authored
      
      
      All identifiers, regardless of use, that start with two underscores are
      reserved. This means they can't be used in header guards.
      
      The style that this project is now to use the full name of the file in
      capital letters followed by 'H'. For example, for a file called
      "uart_example.h", the header guard is UART_EXAMPLE_H.
      
      The exceptions are files that are imported from other projects:
      
      - CryptoCell driver
      - dt-bindings folders
      - zlib headers
      
      Change-Id: I50561bf6c88b491ec440d0c8385c74650f3c106e
      Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
      c3cf06f1
  3. 22 Jul, 2018 1 commit
  4. 06 Jul, 2018 1 commit
    • Teddy Reed's avatar
      hikey: Add development TBB support · e59a3bff
      Teddy Reed authored
      
      
      This patch adds experimental support for TRUSTED_BOARD_BOOT to the
      Hikey. This is adapted from the RPi3 and QEMU implementations.
      
      Since the Hikey starts from BL2 the TRUSTED_BOARD_BOOT ROT begins there
      too. When TRUSTED_BOARD_BOOT is defined, the BL1 build is skipped.
      
      See the following example:
      
      make \
       PLAT=hikey \
       BL33=u-boot.bin \
       SCP_BL2=mcuimage.bin \
       TRUSTED_BOARD_BOOT=1 \
       MBEDTLS_DIR=../../mbedtls \
       GENERATE_COT=1 \
       all fip
      Signed-off-by: default avatarTeddy Reed <teddy.reed@gmail.com>
      e59a3bff
  5. 12 Mar, 2018 1 commit
    • Michael Brandl's avatar
      plat/hikey: boot memory layout to dedicated file · 4368ae07
      Michael Brandl authored
      
      
      Boot memory layout is specific for a platform, but should not be
      mixed up with other platform specific attributes. A separate file is
      much cleaner and better to compare with other platforms. Take a look
      at plat/poplar where it is done the same way.
      
      Moved hikey_def.h to system include folder and moved includes from
      hikey_def.h to more general platform_def.h.
      Signed-off-by: default avatarMichael Brandl <git@fineon.pw>
      4368ae07
  6. 05 Mar, 2018 2 commits
  7. 27 Feb, 2018 1 commit
  8. 01 Nov, 2017 1 commit
  9. 13 Sep, 2017 1 commit
  10. 01 Sep, 2017 2 commits
  11. 12 Jul, 2017 2 commits
    • Victor Chong's avatar
      hikey: Add BL32 (OP-TEE) support · 3b6e88a2
      Victor Chong authored
      
      Signed-off-by: default avatarVictor Chong <victor.chong@linaro.org>
      3b6e88a2
    • Victor Chong's avatar
      hikey: Remove unnecessary code · c0cde364
      Victor Chong authored
      
      
      PLATFORM_LINKER_FORMAT
      and
      PLATFORM_LINKER_ARCH
      defines are removed from
      plat/hisilicon/hikey/include/platform_def.h
      since there are already defined in
      include/plat/common/common_def.h
      which is included by
      plat/hisilicon/hikey/hikey_def.h
      which is included by
      plat/hisilicon/hikey/include/platform_def.h
      
      The line
      $(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw))
      is removed from
      plat/hisilicon/hikey/platform.mk
      to clear the warning below:
      
      Makefile:544: warning: overriding commands for target `check_SCP_BL2'
      plat/hisilicon/hikey/platform.mk:19: warning: ignoring old commands for target `check_SCP_BL2'
      
      $(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw))
      already exists in
      Makefile
      and applies to plat hikey so is redundant in
      plat/hisilicon/hikey/platform.mk
      Signed-off-by: default avatarVictor Chong <victor.chong@linaro.org>
      c0cde364
  12. 24 May, 2017 1 commit