1. 14 1月, 2016 4 次提交
    • S
      arm: mvebu: Add DM and OF_CONTROL support to SPL · 6451223a
      Stefan Roese 提交于
      This patch adds full DM support to the SPL on MVEBU. Currently
      only serial is supported. Other drivers will follow.
      
      This patch also adds the necessary config values for the DEBUG UART
      to the MVEBU defconfig files. This came in handy while implementing
      this DM support.
      
      Additionally, the mvebu specific SPL linker script is removed and
      this common one is used instead:
      
         arch/arm/cpu/u-boot-spl.lds
      
      This common linker script already handles all special cases. No need
      to reinvent the wheel for MVEBU here.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Cc: Dirk Eibach <dirk.eibach@gdsys.cc>
      Cc: Simon Glass <sjg@chromium.org>
      6451223a
    • S
      arm: mvebu: ddr: Fix compilation warning · cdf1d240
      Stefan Roese 提交于
      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: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      cdf1d240
    • S
      arm: mvebu/kirkwood: Use common timer functions · 2fbc18fe
      Stefan Roese 提交于
      By using the common timer functions for mvebu/kirkwood we can get rid of quite
      a lot of code.
      Signed-off-by: NStefan 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
    • S
      part_dos.c: Don't wrap to negative after 2G sectors · d29892ba
      Stefan Monnier 提交于
      In order to support large IDE disks we need to make certain types be
      lbaint_t now.
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Signed-off-by: NStefan Monnier <monnier@iro.umontreal.ca>
      d29892ba
  2. 13 1月, 2016 36 次提交