1. 05 May, 2020 1 commit
    • Andre Przywara's avatar
      plat/stm32: Use generic fdt_get_reg_props_by_name() · 7ad6d362
      Andre Przywara authored
      
      
      The STM32 platform port parse DT nodes to find base address to
      peripherals. It does this by using its own implementation, even though
      this functionality is generic and actually widely useful outside of the
      STM32 code.
      
      Re-implement fdt_get_reg_props_by_name() on top of the newly introduced
      fdt_get_reg_props_by_index() function, and move it to fdt_wrapper.c.
      This is removes the assumption that #address-cells and #size-cells are
      always one.
      
      Change-Id: I6d584930262c732b6e0356d98aea50b2654f789d
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      7ad6d362
  2. 23 Mar, 2020 1 commit
    • Yann Gautier's avatar
      spi: stm32_qspi: correct static analysis issues · 9d22d310
      Yann Gautier authored
      
      
      Sparse issue:
      drivers/st/spi/stm32_qspi.c:445:5:
       warning: symbol 'stm32_qspi_init' was not declared. Should it be static?
      
      Cppcheck issue:
      [drivers/st/spi/stm32_qspi.c:175] -> [drivers/st/spi/stm32_qspi.c:187]:
       (style) Variable 'len' is reassigned a value before the old one has been
       used.
      [drivers/st/spi/stm32_qspi.c:178]:
       (style) The scope of the variable 'timeout' can be reduced.
      
      Change-Id: I575fb50766355a6717cbd193fc4a80ff1923014c
      Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
      9d22d310
  3. 20 Jan, 2020 1 commit