02 Mar, 2020

1 commit


14 Feb, 2020

3 commits


06 Feb, 2020

2 commits

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • At present devres.h is included in all files that include dm.h but few
    make use of it. Also this pulls in linux/compat which adds several more
    headers. Drop the automatic inclusion and require files to include devres
    themselves. This provides a good indication of which files use devres.

    Signed-off-by: Simon Glass
    Reviewed-by: Anatolij Gustschin

    Simon Glass
     

21 Jan, 2020

1 commit


18 Jan, 2020

1 commit


17 Jan, 2020

3 commits

  • Split the board and SOC support for STM32MP15x family and
    prepare the introduction of new boards with STM32MP15x.

    This path define the 2 configurations:
    - STM32MP15x: STM32MP15x soc support (new)
    - TARGET_ST_STM32MP15x: STMicroelectronics board support (choice)

    Signed-off-by: Patrick Delaunay
    Reviewed-by: Patrice Chotard

    Patrick Delaunay
     
  • Move CONFIG_ENV_SECT_SIZE and CONFIG_ENV_OFFSET in stm32mp15_*_defconfig
    for ST board with NOR support (STM32MP15xx-EV1 boards)
    - CONFIG_SECT_SIZE values = the max supported NOR erase size (256KB)
    - CONFIG_ENV_OFFSET = offset for NOR (ENV_IS_IN_SPI_FLASH)

    This Patch prepares the U-Boot support of boards with STM32MP15x SOC
    not provided by STMicroelectronics.

    Signed-off-by: Patrick Delaunay
    Reviewed-by: Patrice Chotard

    Patrick Delaunay
     
  • Move the ST command in board/st/common, as this command is only used
    by ST board. Prepare the support in U-Boot of boards with STM32MP15x
    SOC but not STMicroelectronics.

    Signed-off-by: Patrick Delaunay
    Reviewed-by: Patrice Chotard

    Patrick Delaunay
     

08 Jan, 2020

1 commit


03 Dec, 2019

4 commits


26 Nov, 2019

3 commits


22 Oct, 2019

1 commit

  • Select the correct USB product id used by the download gadget
    for ST stm32mp1 boards.

    The board stm32mp1 select the correct product id, as defined in
    http://www.linux-usb.org/usb.ids for the STMicroelectronics
    vendor id = 0x0483 (CONFIG_USB_GADGET_VENDOR_NUM):
    - dfu = 0xdf11 : STM Device in DFU mode
    it is the value used by ROM code and reused for stm32prog
    command
    - fasboot = 0x0afb : Android Fastboot device
    - others = 0x5720 (CONFIG_USB_GADGET_PRODUCT_NUM)
    Mass Storage Device
    it is used for UMS command / usb_dnl_ums

    This patch avoid conflict when the same USB VID/PID is used for
    ums, fastboot or dfu command (two different protocols associated
    to the same PID).

    Signed-off-by: Patrick Delaunay
    Acked-by: Patrice Chotard

    Patrick Delaunay
     

14 Oct, 2019

1 commit


05 Sep, 2019

1 commit

  • Align the board and driver prototype for board_interface_eth_init
    to avoid execution issue (the interface_type parameter is defined
    as int or phy_interface_t).

    To have a generic weak function (it should be reused by other driver)
    I change the prototype to use directly udevice.

    This prototype is added in netdev.h to allow compilation check
    and avoid warning when compiling with W=1 on file
    board/st/stm32mp1/stm32mp1.c

    warning: no previous prototype for 'board_interface_eth_init'\
    [-Wmissing-prototypes]
    int board_interface_eth_init(int interface_type, ....
    ^~~~~~~~~~~~~~~~~~~~~~~~

    Signed-off-by: Patrice Chotard
    Signed-off-by: Patrick Delaunay
    Acked-by: Joe Hershberger

    Patrick Delaunay
     

27 Aug, 2019

16 commits


12 Aug, 2019

2 commits

  • This file contains lots of internal details about the environment. Most
    code can include env.h instead, calling the functions there as needed.

    Rename this file and add a comment at the top to indicate its internal
    nature.

    Signed-off-by: Simon Glass
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt
    [trini: Fixup apalis-tk1.c]
    Signed-off-by: Tom Rini

    Simon Glass
     
  • Move this function over to the new header file.

    Signed-off-by: Simon Glass
    Acked-by: Joe Hershberger

    Simon Glass