Skip to content
Snippets Groups Projects
  1. Jan 14, 2016
    • Stefan Roese's avatar
      arm: mvebu: ddr: Fix compilation warning · cdf1d240
      Stefan Roese authored
      
      gcc 5.1 generates this new warning (for Armada 38x platforms):
      
      drivers/ddr/marvell/a38x/ddr3_debug.c: In function 'hws_ddr3_tip_read_training_result':
      drivers/ddr/marvell/a38x/ddr3_debug.c:177:40: warning: 'sizeof' on array
        function parameter 'result' will return size of 'enum hws_result (*)[1]' [-Wsizeof-array-argument]
        memcpy(result, training_result, sizeof(result));
                                              ^
      drivers/ddr/marvell/a38x/ddr3_debug.c:171:31: note: declared here
        u32 dev_num, enum hws_result result[MAX_STAGE_LIMIT][MAX_INTERFACE_NUM])
                                     ^
      
      Since this functions is not referenced anywhere, lets just remove it.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      cdf1d240
    • Stefan Roese's avatar
      arm: mvebu/kirkwood: Use common timer functions · 2fbc18fe
      Stefan Roese authored
      
      By using the common timer functions for mvebu/kirkwood we can get rid of quite
      a lot of code.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Cc: Simon Guinot <simon.guinot@sequanux.org>
      Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
      2fbc18fe
  2. Jan 13, 2016
Loading