1. 28 Sep, 2018 1 commit
    • Shawn Guo's avatar
      drivers: mmc: Fix R2 response type definition · a2a69bc8
      Shawn Guo authored
      The Poplar is broken on eMMC initialization because of commit
      2a82a9c9 ("drivers: emmc: dw_mmc: Add response flag into response ID
      definition").  It changes the driver behavior on response type handling
      in dw_send_cmd(), because MMC_RESPONSE_R(2) and MMC_RESPONSE_R2 are
      different things.  MMC core is still sending the former while we already
      changed to check the latter in dw_mmc driver.
      
      This patch fixes R2 response type in MMC core code.  It's the same
      thing as what commit 94522ff7
      
       ("drivers: mmc: Fix R3 response type
      definition") does for R3 response.
      
      With this fix, Poplar is back to work.
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      a2a69bc8
  2. 19 Sep, 2018 1 commit
    • Andre Przywara's avatar
      drivers: i2c: mentor: move platform code into header files · dfc0fb27
      Andre Przywara authored
      
      
      At the moment we have two I2C stub drivers (for the Allwinner and the
      Marvell platform), which #include the actual .c driver file.
      Change this into the more usual design, by renaming and moving the stub
      drivers into platform specific header files and including these from the
      actual driver file. The platform specific include directories make sure
      the driver picks up the right header automatically.
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      dfc0fb27
  3. 07 Sep, 2018 2 commits
  4. 05 Sep, 2018 2 commits
    • Icenowy Zheng's avatar
      drivers: mentor: extract MI2CV driver from Marvell driver · 7e4d5620
      Icenowy Zheng authored
      
      
      The Marvell A8K SoCs use the MI2CV IP core from Mentor Graphics, which
      is also used by Allwinner.
      
      As Mentor Graphics allows a lot of customization, the MI2CV in the two
      SoC families are not compatible, and driver modifications are needed.
      
      Extract the common code to a MI2CV driver.
      Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
      7e4d5620
    • Icenowy Zheng's avatar
      marvell: drivers: use anonymous union in I2C driver · f348c351
      Icenowy Zheng authored
      
      
      The I2C controller found in Marvell A8K SoCs (and some older SoCs) mux
      status and baudrate registers into the same address, however, it's a
      vendor customization, and the original IP core by Mentor Graphics uses
      two different addresses for the two registers.
      
      Use anonymous union in the driver, in order to ease code sharing for
      other SoC vendors that use this IP core (Allwinner SoCs that are newly
      introduced to mainline ATF use this core).
      Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
      f348c351
  5. 04 Sep, 2018 6 commits
  6. 03 Sep, 2018 2 commits
  7. 02 Sep, 2018 4 commits
  8. 30 Aug, 2018 9 commits
  9. 22 Aug, 2018 1 commit
  10. 15 Aug, 2018 1 commit
  11. 13 Aug, 2018 1 commit
  12. 10 Aug, 2018 8 commits
  13. 03 Aug, 2018 2 commits
    • Roberto Vargas's avatar
      Add atexit function to libc · 6c373345
      Roberto Vargas authored
      
      
      We had exit but we didn't have atexit, and we were calling panic and
      tf_printf from exit, which generated a dependency from exit to them.
      Having atexit allows to set a different function pointer in every image.
      
      Change-Id: I95b9556d680d96249ed3b14da159b6f417da7661
      Signed-off-by: default avatarRoberto Vargas <roberto.vargas@arm.com>
      6c373345
    • Roberto Vargas's avatar
      Don't include mbebtls include paths in INCLUDES · ea7a57a3
      Roberto Vargas authored
      
      
      Mbebtls include paths are controlled by the user using the variable
      MBEDTLS_DIR and they are out of the TF source tree. Since these
      includes have a different origin it is better to move them to a
      different variable.
      
      This change makes easier for the romlib Makefile to parse the include
      paths.
      
      Change-Id: I3e4c99300f1012bc7f88c6b9f5bc0ec1f7b5aa8d
      Signed-off-by: default avatarRoberto Vargas <roberto.vargas@arm.com>
      ea7a57a3