1. 27 Sep, 2016 3 commits
    • Tom Rini's avatar
      dfu: Migrate to Kconfig · 6828e602
      Tom Rini authored
      
      
      Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for
      CMD_DFU (as we must have the DFU command enabled to do anything DFU).
      Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add
      options for all of the back end choices that DFU can make use of.
      
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      6828e602
    • Tom Rini's avatar
      usb:gadget: Disallow DFU in SPL for now · 6ad61022
      Tom Rini authored
      
      
      Previously, DFU was not built in for SPL and often disabled via the board
      config.h file, in the SPL build.  By moving DFU to Kconfig we now need to
      move this logic to the Makefile to continue to allow boards to fit within
      their SPL size limit (until gcc 6 is more widespread and unused strings will
      be discarded).
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      6ad61022
    • Tom Rini's avatar
      ti_armv7_common.h: Adjust malloc pool size in all cases. · 5e61b0df
      Tom Rini authored
      
      
      Previously we had been adjusting CONFIG_SYS_MALLOC_LEN based on if
      CONFIG_DFU_MMC has been set or not.  However, for quite some time this
      has not been the case as we often include <configs/ti_armv7_common.h>
      prior to setting CONFIG_DFU_MMC so we would always use 16MiB and then
      not have enough room for to DFU files.  Given the amount of memory we
      always have, setting a minimum size of 32MiB for malloc is reasonable.
      However, in the SPL case not only do we not need that much we start
      running into overlap problems and then will fail to boot.  Since we
      don't need 16MiB in the SPL case, bring this down to 8MiB.
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      5e61b0df
  2. 26 Sep, 2016 17 commits
  3. 25 Sep, 2016 2 commits
  4. 24 Sep, 2016 10 commits
  5. 23 Sep, 2016 8 commits