1. 08 Jun, 2017 1 commit
    • Lin Huang's avatar
      rockchip/rk3399: fix DRAM gate training issue · a9059b96
      Lin Huang authored
      
      
      The differential signal of DQS need keep low level
      before gate training. It need enable RPULL and disable
      PHY side ODT to ensure it when do gate training.
      But it can not access the PHY registers to do it when
      perform DFS.So the workaroud as below: It is ensure that
      the PHY's read gate is landing somewhere in the incoming
      DQS's pulses before it starts searching for pre-amble window.
      It need get the rddqs_delay_ps to calculate the start point
      of gate training for DFS.
      
      Change-Id: I79eabcf4ec9a9c8f4539f68a51f22afba49c72fe
      Signed-off-by: default avatarLin Huang <hl@rock-chips.com>
      a9059b96
  2. 03 May, 2017 1 commit
  3. 07 Apr, 2017 1 commit
  4. 20 Mar, 2017 1 commit
  5. 01 Mar, 2017 1 commit
  6. 24 Feb, 2017 30 commits
  7. 06 Feb, 2017 1 commit
    • Douglas Raillard's avatar
      Replace some memset call by zeromem · 32f0d3c6
      Douglas Raillard authored
      
      
      Replace all use of memset by zeromem when zeroing moderately-sized
      structure by applying the following transformation:
      memset(x, 0, sizeof(x)) => zeromem(x, sizeof(x))
      
      As the Trusted Firmware is compiled with -ffreestanding, it forbids the
      compiler from using __builtin_memset and forces it to generate calls to
      the slow memset implementation. Zeromem is a near drop in replacement
      for this use case, with a more efficient implementation on both AArch32
      and AArch64.
      
      Change-Id: Ia7f3a90e888b96d056881be09f0b4d65b41aa79e
      Signed-off-by: default avatarDouglas Raillard <douglas.raillard@arm.com>
      32f0d3c6
  8. 23 Jan, 2017 1 commit
    • Masahiro Yamada's avatar
      Use #ifdef for IMAGE_BL* instead of #if · 3d8256b2
      Masahiro Yamada authored
      
      
      One nasty part of ATF is some of boolean macros are always defined
      as 1 or 0, and the rest of them are only defined under certain
      conditions.
      
      For the former group, "#if FOO" or "#if !FOO" must be used because
      "#ifdef FOO" is always true.  (Options passed by $(call add_define,)
      are the cases.)
      
      For the latter, "#ifdef FOO" or "#ifndef FOO" should be used because
      checking the value of an undefined macro is strange.
      
      Here, IMAGE_BL* is handled by make_helpers/build_macro.mk like
      follows:
      
        $(eval IMAGE := IMAGE_BL$(call uppercase,$(3)))
      
        $(OBJ): $(2)
                @echo "  CC      $$<"
                $$(Q)$$(CC) $$(TF_CFLAGS) $$(CFLAGS) -D$(IMAGE) -c $$< -o $$@
      
      This means, IMAGE_BL* is defined when building the corresponding
      image, but *undefined* for the other images.
      
      So, IMAGE_BL* belongs to the latter group where we should use #ifdef
      or #ifndef.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      3d8256b2
  9. 12 Jan, 2017 1 commit
  10. 04 Jan, 2017 1 commit
  11. 14 Dec, 2016 1 commit