1. 13 Feb, 2020 2 commits
  2. 06 Feb, 2020 2 commits
  3. 24 Jan, 2020 1 commit
  4. 17 Jan, 2020 2 commits
  5. 07 Jan, 2020 1 commit
  6. 02 Dec, 2019 1 commit
  7. 26 Nov, 2019 3 commits
  8. 22 Oct, 2019 1 commit
  9. 04 Sep, 2019 1 commit
  10. 27 Aug, 2019 11 commits
  11. 11 Aug, 2019 2 commits
  12. 12 Jul, 2019 4 commits
  13. 06 Jun, 2019 6 commits
    • Christophe Roullier's avatar
      board: stm32mp1: Add board_interface_eth_init · edacf268
      Christophe Roullier authored and Patrice Chotard's avatar Patrice Chotard committed
      
      
      Called to configure Ethernet PHY interface selection and
      configure clock selection in RCC Ethernet clock tree.
      Signed-off-by: default avatarChristophe Roullier <christophe.roullier@st.com>
      edacf268
    • Patrice Chotard's avatar
      board: stm32mp1: Update power supply check via USB TYPE-C · 28c064e6
      Patrice Chotard authored
      
      
      Add 2 new checks:
       - detect when USB TYPE-C cable is not plugged correctly.
         In this case, GND and VBUS pins are connected but not CC1
         and CC2 pins.
      
       - detect is an USB Type-C charger supplies more than 3 Amps
         which is not compliant with the USB Type-C specification
      
      In these 2 situations, stop the boot process and let red led
      blinks forever.
      
         V cc1      |   V cc2     | power supply | red led | console message
      range (Volts) |range (Volts)|   (Amps)     | blinks  |
      --------------|-------------|--------------|---------|-----------------------------------
          > 2.15    |   < 0.2     |     > 3      | for ever| USB TYPE-C charger not compliant with specification
      [2.15 - 1.23[ |   < 0.2     |     3        |   NO    | NO
      [1.23 - 0.66[ |   < 0.2     |     1.5      | 3 times | WARNING 1.5A power supply detected
      [0.66 - 0]    |   < 0.2     |     0.5      | 2 times | WARNING 500mA power supply detected
          < 0.2     |   < 0.2     |              | for ever| ERROR USB TYPE-C connection in unattached mode
          > 0.2     |   > 0.2     |              | for ever| ERROR USB TYPE-C connection in unattached mode
      Signed-off-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@st.com>
      28c064e6
    • Patrice Chotard's avatar
      stm32mp1: Update env_get_location for NOR support · e5c38fdd
      Patrice Chotard authored
      
      
      Update env_get_location() to be able to save environment into
      NOR (SPI_FLASH).
      
      Series-cc: pde, cke, pch, uboot-stm32
      
      Cover-letter:
      Add saveenv support for STM32MP1
      
      This series adds saveenv support for STM32MP1 on several boot
      devices. STM32MP1 is able to boot on eMMC, sdcard and NOR
      (NAND support is not fully supported).
      
      On eMMC and sdcard, environment is saved in EXT4 partition
      On NOR, environment is saved in a dedicated partition
      On NAND, environment is saved in a UBI volume.
      
      This series:
        - enables NAND and NOR support on ev1 board
        - enables ENV_IS_IN_SPI_FLASH, ENV_IS_IN_UBI, ENV_IS_IN_EXT4
          flags
        - fixes get_mtdparts()
        - allows to override interface, device and partition for ext4
          environment
        - updates rule to set ENV_IS_NOWHERE value
        - introduce ENV_IS_IN_DEVICE
      END
      Signed-off-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@st.com>
      e5c38fdd
    • Patrice Chotard's avatar
      stm32mp1: Add env_get_location() · 8f24b1a4
      Patrice Chotard authored
      
      
      In case of several environment location support, env_get_location
      is needed to select the correct location depending of the boot
      device .
      Signed-off-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@st.com>
      8f24b1a4
    • Patrice Chotard's avatar
      board: stm32mp1: Add env_ext4_get_dev_part() and env_ext4_get_intf() · 7f90cd61
      Patrice Chotard authored
      
      
      This allows to :
      - select the current device to save the environment file
      - select the correct EXT4 boot device instance
        and partition to save the environment file.
      
      For EXT4, device is mmc, device instance is 0 for sdcard or 1 for eMMC.
      The partition is set to "auto" to select the first partition with
      bootable flag.
      Signed-off-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@st.com>
      7f90cd61
    • Patrice Chotard's avatar
      stm32mp1: support dynamic MTDPARTS · 87471649
      Patrice Chotard authored
      
      
      This patch configure the default value for mtdids and mtparts
      dynamically according the presence of nor and nand in
      the board device tree
      Signed-off-by: Patrick Delaunay's avatarPatrick Delaunay <patrick.delaunay@st.com>
      Signed-off-by: default avatarChristophe Kerello <christophe.kerello@st.com>
      Signed-off-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@st.com>
      87471649
  14. 21 Apr, 2019 2 commits
  15. 12 Apr, 2019 1 commit