1. 05 Jun, 2014 10 commits
    • Sandrine Bailleux's avatar
      juno: Constify some variables · dbc6eb23
      Sandrine Bailleux authored
      Mark some of the variables in the juno code as 'const' where possible.
      
      Change-Id: I14b19cccff5993c08a0ca11cd42e57d5435081f4
      dbc6eb23
    • Sandrine Bailleux's avatar
      Remove duplicate TZC-400 header file · 7beb5ec1
      Sandrine Bailleux authored
      Because we needed to configure the trustzone controller on Juno,
      minimal support for the TZC-400 had been added. However, a proper
      TZC-400 driver has been introduced since then. This patch removes
      the old, minimal header file and makes the necessary changes to use
      the new one.
      
      Change-Id: I4af1d8fb423e3214a0020c527bd2c1c2fcdb5c56
      7beb5ec1
    • Sandrine Bailleux's avatar
      juno: Fix build errors due to recent changes · 65a42f57
      Sandrine Bailleux authored
      This is a miscellaneous commit that fixes all build
      errors introduced by the rebase of the Juno codebase
      on the latest trusted firmware.
      
       - Make codebase consistent in its use of #include "" syntax
         for user includes and #include <> syntax for system includes.
      
       - Sort header files alphabetically
      
       - Use tag names for structure types.
         Replace instances of the former io_handle and io_dev_handle
         types with uintptr_t.
      
       - Review the .c and .S files for which header files really need
         including and reorder the #include statements alphabetically.
      
      Change-Id: I1d409fafb6dc257a38992ee15b22b0e890d040b0
      65a42f57
    • Sandrine Bailleux's avatar
      Revert "juno: Initialise architected timer in BL3-1" · dbff210e
      Sandrine Bailleux authored
      This reverts commit ff7480a34839693fdba599f74e5c7e6e189eebb8.
      because the architected timer is now initialised in architecture
      code and no longer in platform code. See commit 9e86490f.
      
      Change-Id: I0f12e006ba1574c7c0fc03c616503f33958b9596
      dbff210e
    • Sandrine Bailleux's avatar
      juno: Remove vpath usage in platform makefile · 569a5db9
      Sandrine Bailleux authored
      As per commit bee82417, remove all usage of the vpath keyword
      in makefiles. Specify the relative paths to source files instead.
      
      Also reorder source files in makefiles alphabetically.
      
      Change-Id: Ic85c396f34e7a25a7239533f12bde3eed8da0ca2
      569a5db9
    • Sandrine Bailleux's avatar
      juno: Fix base addresses for UART2 and UART3 · b01f49b5
      Sandrine Bailleux authored
      Also remove 'PL011_BASE' macro because it is no longer used.
      
      Change-Id: Iefe94037cf67293b630d5256e6cac3f82abda807
      b01f49b5
    • Sandrine Bailleux's avatar
      juno: Rename Juno "mmap" array to avoid name confusion · 61cb163b
      Sandrine Bailleux authored
      Rename the array "mmap" in plat/juno/aarch64/plat_common.c to
      "juno_mmap", to avoid confusion with the array of the same name
      in lib/arch/aarch64/xlat_tables.c
      
      Change-Id: If2f2976b1bc9177a14625a2a4559c32c5236090f
      61cb163b
    • Sandrine Bailleux's avatar
      juno: Place assembler functions in separate sections · db7bc010
      Sandrine Bailleux authored
      This extends the --gc-sections behaviour to the Juno-specific assembler
      support functions in the firmware images by placing each function
      into its own code section. This is achieved by using the 'func'
      macro when declaring a function label.
      
      Change-Id: I738370c0515face104531ab7944cc5bbdad49a9d
      db7bc010
    • Sandrine Bailleux's avatar
      juno: Initialise UART console in all bootloader stages · c8deb8b4
      Sandrine Bailleux authored
      Ensure that each bootloader stage initializes the UART console
      independently. As a result, both BL3-1 and BL2 platform code now
      calls console_init() instead of relying on BL1 to perform console
      setup.
      
      Also perform the console initialisation earlier in BL1 because
      it must be done before it is used e.g. through a printf() call
      in an assert() statement.
      
      Change-Id: I8bb58cf1f0e42a71a01abf65da30bfa4ae533665
      c8deb8b4
    • Sandrine Bailleux's avatar
      juno: Semihosting: Fix file mode to load binaries on Windows · 4114d891
      Sandrine Bailleux authored
      Propagate commit 886278e5 on Juno.
      
      Change-Id: I1e5e1e3c019c51af6ed54bb02fee6b1ebc201a2a
      4114d891
  2. 04 Jun, 2014 30 commits