1. 24 2月, 2018 14 次提交
  2. 23 2月, 2018 18 次提交
  3. 22 2月, 2018 8 次提交
    • T
      sh: Use -m2a-nofpu only · 036c9679
      Tom Rini 提交于
      Based on reading over the GCC manual, passing both -m2a and -m2a-nofpu
      are redundant, as -m2a-nofpu will provide functional code for both.  As
      -m2a-nofpu functions with more toolchains and does what is expected,
      switch.
      
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      036c9679
    • P
      cmd: fastboot: Kconfig: solve config issue · b0cce3f9
      Patrick Delaunay 提交于
      When FASTBOOT is activated, only one the supported device is supported in
      code at the same time
      - CONFIG_FASTBOOT_FLASH_MMC_DEV
      - CONFIG_FASTBOOT_FLASH_NAND_DEV
      
      But Today the choice is not exclusive in Kconfig
      and that cause Kconfig issue when :
      - CONFIG_FASTBOOT, CONFIG_MMC, CONFIG_NAND are activated
      - CONFIG_FASTBOOT_FLASH_MMC_DEV = 0
      - CONFIG_FASTBOOT_FLASH_NAND_DEV is not activated
      
      The patch add a choice in Kconfig to select the FLASH provider
      - CONFIG_FASTBOOT_FLASH_MMC
      - CONFIG_FASTBOOT_FLASH_NAND
      Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
      Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      b0cce3f9
    • M
      dfu: tftp: Fix arm64 build warnings · 36dd7e7e
      Marek Vasut 提交于
      Fix two build warnings when building for arm64:
      
      drivers/dfu/dfu_tftp.c: In function ‘dfu_tftp_write’:
      drivers/dfu/dfu_tftp.c:59:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        ret = dfu_write_from_mem_addr(dfu, (void *)addr, len);
                                           ^
      and
      
      drivers/dfu/dfu_tftp.c: In function ‘dfu_tftp_write’:
      drivers/dfu/dfu_tftp.c:41:8: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘__kernel_size_t {aka long unsigned int}’ [-Wformat=]
        debug("%s: image name: %s strlen: %u\n", __func__, sb, strlen(sb));
              ^
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Lukasz Majewski <lukma@denx.de>
      36dd7e7e
    • M
      dfu: Rename _FUNCTION_DFU to DFU_OVER_ · bb4059a5
      Marek Vasut 提交于
      Do the following to make the symbol names less confusing.
      
      sed -i "s/\([TU][^_]\+\)_FUNCTION_DFU/DFU_OVER_\1/g" \
      	`git grep _FUNCTION_DFU | cut -d ":" -f 1 | sort -u`
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Lukasz Majewski <lukma@denx.de>
      bb4059a5
    • M
      dfu: Fix up the Kconfig mess · 0f44d335
      Marek Vasut 提交于
      Clean up the screaming mess of configuration options that DFU is.
      It was impossible to configure DFU such that TFTP is enabled and
      USB is not, this patch fixes that and assures that DFU TFTP and
      DFU USB can be enabled separatelly and that the correct pieces
      of code are compiled in.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Lukasz Majewski <lukma@denx.de>
      0f44d335
    • H
      usb: kbd: select SYS_STDIO_DEREGISTER · 462c117c
      Heinrich Schuchardt 提交于
      If SYS_STDIO_DEREGISTER is not selected and USB_KEYBOARD is selected
      U-Boot cannot be built due to missing function stdio_deregister_dev.
      
      So USB_KEYBOARD should select SYS_STDIO_DEREGISTER.
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      462c117c
    • A
      usb: gadget: sdp: fix pointer cast warnings for 64bit archs · a64a614d
      Andre Heider 提交于
      The SDP protocol contains multiple 32bit pointers. Add a helper function
      to get a valid pointer from these values and use it.
      
      This fixes the following warnings:
      
      drivers/usb/gadget/f_sdp.c: In function ‘sdp_rx_data_complete’:
      drivers/usb/gadget/f_sdp.c:347:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         memcpy((void *)sdp->dnl_address, req->buf + 1, datalen);
                ^
      drivers/usb/gadget/f_sdp.c: In function ‘sdp_jump_imxheader’:
      drivers/usb/gadget/f_sdp.c:625:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        entry = (void *)headerv2->entry;
                ^
      drivers/usb/gadget/f_sdp.c: In function ‘sdp_handle_in_ep’:
      drivers/usb/gadget/f_sdp.c:668:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         memcpy(&data[1], (void *)sdp_func->dnl_address, datalen);
                          ^
      drivers/usb/gadget/f_sdp.c:679:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         status = sdp_jump_imxheader((void *)sdp_func->jmp_address);
                                     ^
      Signed-off-by: NAndre Heider <a.heider@gmail.com>
      a64a614d
    • A
      usb: gadget: sdp: add missing line breaks · 24ccd0c8
      Andre Heider 提交于
      Cosmetic change.
      Signed-off-by: NAndre Heider <a.heider@gmail.com>
      Reviewed-by: NLukasz Majewski <lukma@denx.de>
      Acked-by: NStefan Agner <stefan.agner@toradex.com>
      24ccd0c8