1. 28 Sep, 2018 2 commits
    • Yann Gautier's avatar
      mmc: Update framework to use standard response type · 97d5db8c
      Yann Gautier authored
      Respect official response type and update response to follow
      official specification.
      All the MMC_RESPONSE_R(_x) are replaced with each corresponding define.
      
      Partly revert 2a82a9c9
      
       for dw_mmc.c:
      Responses R1, R1B and R5 have CRC.
      Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
      Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
      97d5db8c
    • 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 1 commit
    • 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