Skip to content
Snippets Groups Projects
  1. Apr 10, 2021
  2. Apr 05, 2021
  3. Apr 01, 2021
  4. Mar 29, 2021
  5. Mar 28, 2021
    • Jessica Clarke's avatar
      Support building on macOS/arm64 · 3b142045
      Jessica Clarke authored and Tom Rini's avatar Tom Rini committed
      
      On Arm-based Macs, -no_pie is ignored and gives a linker warning.
      Moreover, the build falls over with:
      
        ld: Absolute addressing not allowed in arm64 code but used in '_image_type_ptr_aisimage' referencing '_image_type_aisimage'
      
      for dumpimage and mkimage, since we put data structs in text sections
      not data sections and so cannot have dynamic relocations. Instead, move
      the sections to __DATA and drop disabling PIE.
      
      Signed-off-by: default avatarJessica Clarke <jrtc27@jrtc27.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      3b142045
  6. Mar 27, 2021
    • Simon Glass's avatar
      dm: i2c: Add a migration method for I2C · 65c8cdc7
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      This probably should have been done a while back since it is a core
      system. Add a migration deadline of later this year, to catch the
      stragglers.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      65c8cdc7
    • Simon Glass's avatar
      Makefile: Drop the old SPI flash migration message · 782dac5b
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      This message does not seem to make sense. It may be out of date. Drop it.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      782dac5b
    • Simon Glass's avatar
      Makefile: Use common code for DM_ETH deprecation warning · 8cd1874f
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_DM_ETH check to use the 'deprecated' function.
      
      Tested with snow
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_ETH (Driver Model
      for Ethernet drivers). Please update the board to use
      CONFIG_DM_ETH before the v2020.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_ETH (Driver Model
      for Ethernet drivers). Please update the board to use
      CONFIG_DM_ETH before the v2020.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      8cd1874f
    • Simon Glass's avatar
      Makefile: Use common code for WDT deprecation warning · 78b4a564
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_WDT check to use the 'deprecated' function.
      
      Tested with kmcent2
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_WDT (DM watchdog support).
      Please update the board to use CONFIG_WDT before the
      v2019.10 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_WDT (Driver Model
      for DM watchdog). Please update the board to use
      CONFIG_WDT before the v2019.10 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      78b4a564
    • Simon Glass's avatar
      Makefile: Use common code for SPI_FLASH deprecation warning · ec384f9f
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_DM_SPI_FLASH check to use the 'deprecated' function.
      
      Tested with vinco
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_SPI_FLASH. Please update
      the board to use CONFIG_SPI_FLASH before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_SPI_FLASH (Driver Model
      for SPI flash). Please update the board to use
      CONFIG_DM_SPI_FLASH before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      ec384f9f
    • Simon Glass's avatar
      Makefile: Use common code for DM_VIDEO deprecation warning · d13aee07
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_DM_VIDEO check to use the 'deprecated' function.
      
      Tested with pxm2
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_VIDEO Please update
      the board to use CONFIG_DM_VIDEO before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_VIDEO (Driver Model
      for video). Please update the board to use
      CONFIG_DM_VIDEO before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ==================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      d13aee07
    • Simon Glass's avatar
      Makefile: Use common code for PCI deprecation warning · 39e526a8
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_DM_PCI check to use the 'deprecated' function.
      
      Tested with MPC8349ITX
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_PCI Please update
      the board to use CONFIG_DM_PCI before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_PCI (Driver Model
      for PCI). Please update the board to use
      CONFIG_DM_PCI before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      39e526a8
    • Simon Glass's avatar
      Makefile: Use common code for LIBATA deprecation warning · 099288bf
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_LIBATA check to use the 'deprecated' function.
      
      Tested with MPC8349ITX
      
      Old message:
      
      ===================== WARNING ======================
      This board does use CONFIG_LIBATA but has CONFIG_AHCI not
      enabled. Please update the storage controller driver to use
      CONFIG_AHCI before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_AHCI (Driver Model
      for AHCI). Please update the board to use
      CONFIG_AHCI before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      099288bf
    • Simon Glass's avatar
      Makefile: Use common code for MVSATA_IDE deprecation warning · a8834352
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the CONFIG_MVSATA_IDE check to use the 'deprecated' function.
      
      Tested with nas220
      
      Old message:
      
      ===================== WARNING ======================
      This board does use CONFIG_MVSATA_IDE which is not
      ported to driver-model (DM) yet. Please update the storage
      controller driver to use CONFIG_AHCI before the v2019.07
      release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_AHCI (Driver Model
      for AHCI instead of CONFIG_MVSATA_IDE). Please update the board to use
      CONFIG_AHCI before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      a8834352
    • Simon Glass's avatar
      Makefile: Use common code for USB deprecation warning · 9e035b8e
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the USB check to use the 'deprecated' function.
      
      Tested with xpress
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_USB. Please update
      the board to use CONFIG_DM_USB before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_USB (Driver Model
      for  USB). Please update the board to use
      CONFIG_DM_USB before the v2019.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      9e035b8e
    • Simon Glass's avatar
      Makefile: Use common code for MMC deprecation warning · 77dc55ea
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Update the MMC check to use the 'deprecated' function.
      
      Tested with zc5202
      
      Old message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_MMC. Please update
      the board to use CONFIG_DM_MMC before the v2019.04 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      New message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_MMC (Driver Model
      for MMC). Please update the board to use
      CONFIG_DM_MMC before the v2019.04 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      77dc55ea
    • Simon Glass's avatar
      Makefile: Add common code to report deprecation · 13732528
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Add a function which can be called to report a migration problem. This
      will make it easier to add new migration checks, since the logic and
      strings are not spread out over 8 lines of code.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      13732528
    • Simon Glass's avatar
      Makefile: Move non-DM migration messages to the top · 06467e46
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      At present the driver model migration messages are mixed with the others.
      Collect them together before starting to refactor them.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      06467e46
  7. Mar 26, 2021
  8. Mar 22, 2021
  9. Mar 20, 2021
  10. Mar 15, 2021
  11. Mar 08, 2021
  12. Mar 03, 2021
    • This contributor prefers not to receive mails's avatar
      usb: musb: Fix compilation of gadget code · 4cc53ef1
      This contributor prefers not to receive mails authored and Marek Vasut's avatar Marek Vasut committed
      
      musb udc code depends on usb gadget code provided by CONFIG_USB_DEVICE as
      defined in drivers/usb/gadget/Makefile. But this Makefile is not included
      into U-Boot build when CONFIG_USB_GADGET is not set. As CONFIG_USB_DEVICE
      cannot be enabled together with CONFIG_USB_GADGET it means that dependency
      for musb udc code is not compiled during build. Fix it by including
      drivers/usb/gadget dependency also when CONFIG_USB_DEVICE is set.
      
      This patch fixes compile errors:
      
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_rx':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `ep0_recv_setup'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_idle':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `ep0_recv_setup'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_zero_data_request':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_idle':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `ep0_recv_setup'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_rx':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_rcv_complete'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_rx_ep':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_rcv_complete'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `udc_endpoint_write':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_tx_complete'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `udc_irq':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o:u-boot/drivers/usb/musb/musb_udc.c: more undefined references to `usbd_device_event_irq' follow
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `udc_setup_ep':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_alloc_urb'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `udc_startup_events':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      make: *** [Makefile:1762: u-boot] Error 1
      
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Reviewed-by: default avatarLukasz Majewski <lukma@denx.de>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      4cc53ef1
  13. Mar 02, 2021
  14. Mar 01, 2021
    • Marek Vasut's avatar
      ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y · 7034478a
      Marek Vasut authored and Stefano Babic's avatar Stefano Babic committed
      
      The u-boot-with-spl.imx is a concatenation of SPL and u-boot.uim.
      The u-boot.uim is u-boot.bin wrapped in uImage. In case OF_SEPARATE
      is enabled, the u-boot.bin does not contain control DT for U-Boot,
      and so u-boot.uim does not contain the DT, and so u-boot-with-spl.imx
      does not contain the DT, and a system where u-boot-with-spl.imx is
      written to offset 1024B to the start of storage no longer boots, as
      it is missing DT.
      
      In case OF_SEPARATE is enabled, u-boot.img contains both u-boot.bin
      and the necessary DTs. Therefore, use u-boot.img instead of u-boot.uim
      to generate u-boot-with-spl.imx when OF_SEPARATE is enabled.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Christoph Niedermaier <cniedermaier@dh-electronics.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      7034478a
  15. Feb 24, 2021
  16. Feb 16, 2021
  17. Feb 06, 2021
  18. Feb 01, 2021
  19. Jan 27, 2021
  20. Jan 15, 2021
    • Ley Foon Tan's avatar
      tools: socfpgaimage: update padding flow · 40551cf9
      Ley Foon Tan authored
      
      The existing socfpgaimage always pads the image to the maximum size of
      OCRAM size. This will break in the encryption flow where it expects the
      image to be un-padded. The encryption tool will do the encryption for
      the whole image and append the signature key at end of the image.
      The signature key will append to beyond the size of OCRAM if the image
      is padded with the maximum size before encryption.
      
      Move the padding step from socfpgaimage to Makefile and pads with objcopy
      command.
      
      socfpgaimage will pad the image with 16 bytes aligned (including CRC word),
      this is a requirement in encryption flow.
      
      Signed-off-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
      40551cf9
  21. Jan 11, 2021
  22. Jan 05, 2021
  23. Dec 21, 2020
  24. Dec 01, 2020
  25. Nov 30, 2020
  26. Nov 09, 2020
  27. Nov 06, 2020
Loading