Skip to content
Snippets Groups Projects
  1. Feb 13, 2020
    • Roger Quadros's avatar
      board: ti: am57xx-idk: Prevent boot for invalid configuation · 4d26dc64
      Roger Quadros authored
      
      On am571x-idk there can be following configurations based on Jumper J51
      and LCD panel detected.
      
      1) J51 removed (6port): 6 port Ethernet. Disable LCD panel.
      2) J51 placed (LCD) + Panel detected: 4 port Ethernet with appropriate LCD.
      3) J51 placed (LCD) + Panel not detected/not supported.
      
      Configuration 3 is considered invalid as we can't use display nor ICSS1
      ethernet ports due to hardware muxing. Alert the user to fix the
      configuration and prevent boot.
      
      Alternative was to allow boot and limit to 4 port Ethernet with no display
      but this involved introduction of another DTB for the kernel and was
      considered not worth the hassle.
      
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Acked-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      4d26dc64
  2. Feb 06, 2020
    • Simon Glass's avatar
      dm: core: Create a new header file for 'compat' features · 336d4615
      Simon Glass authored
      
      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: default avatarSimon Glass <sjg@chromium.org>
      336d4615
  3. Jan 24, 2020
  4. Jan 20, 2020
  5. Jan 17, 2020
  6. Dec 02, 2019
  7. Oct 11, 2019
  8. Aug 11, 2019
  9. Mar 22, 2019
  10. Dec 10, 2018
  11. Dec 07, 2018
  12. May 30, 2018
  13. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  14. Feb 19, 2018
  15. Feb 15, 2018
  16. Jan 19, 2018
  17. Sep 11, 2017
  18. Aug 16, 2017
  19. Jul 26, 2017
  20. Jun 12, 2017
  21. Jun 10, 2017
  22. Jun 05, 2017
  23. May 15, 2017
  24. May 08, 2017
    • Uri Mashiach's avatar
      usb: host: xhci-omap: fix double weak board_usb_init functions · 1a9a5f7a
      Uri Mashiach authored
      
      A weak version of the function board_usb_init is implemented in:
      common/usb.c
      drivers/usb/host/xhci-omap.c
      
      To fix the double implementations:
      * Convert the board_usb_init function in drivers/usb/host/xhci-omap.c
        normal (not weak).
      * The function board_usb_init in drivers/usb/host/xhci-omap.c calls to
        the weak function omap_xhci_board_usb_init.
      * Rename board version of the function board_usb_init to
        omap_xhci_board_usb_init.
        Done only for boards that defines CONFIG_USB_XHCI_OMAP.
      
      To achieve the same flexibility with the function board_usb_cleanup:
      * Add a normal (not weak) implementation of the function
        board_usb_cleanup in drivers/usb/host/xhci-omap.c
      * The function board_usb_cleanup in drivers/usb/host/xhci-omap.c calls
        to the weak function omap_xhci_board_usb_cleanup.
      * Rename board version of the function board_usb_cleanup to
        omap_xhci_board_usb_cleanup.
        Done only for boards that defines CONFIG_USB_XHCI_OMAP.
      
      Cc: Lokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: default avatarUri Mashiach <uri.mashiach@compulab.co.il>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarRoger Quadros <rogerq@ti.com>
      1a9a5f7a
Loading