Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig
  2. index 352c1fb..06c1059 100644
  3. --- a/configs/am335x_evm_usbspl_defconfig
  4. +++ b/configs/am335x_evm_usbspl_defconfig
  5. @@ -1,5 +1,5 @@
  6. CONFIG_SPL=y
  7. -CONFIG_SYS_EXTRA_OPTIONS="NAND,SPL_USBETH_SUPPORT"
  8. +CONFIG_SYS_EXTRA_OPTIONS="SPL_USBETH_SUPPORT"
  9. CONFIG_CONS_INDEX=1
  10. +S:CONFIG_ARM=y
  11. +S:CONFIG_TARGET_AM335X_EVM=y
  12. diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
  13. index ba442d5..f2c12b1 100644
  14. --- a/drivers/usb/gadget/ether.c
  15. +++ b/drivers/usb/gadget/ether.c
  16. @@ -91,7 +91,7 @@ static const char driver_desc[] = DRIVER_DESC;
  17. |USB_CDC_PACKET_TYPE_PROMISCUOUS \
  18. |USB_CDC_PACKET_TYPE_DIRECTED)
  19.  
  20. -#define USB_CONNECT_TIMEOUT (3 * CONFIG_SYS_HZ)
  21. +#define USB_CONNECT_TIMEOUT (15 * CONFIG_SYS_HZ)
  22.  
  23. /*-------------------------------------------------------------------------*/
  24.  
  25. @@ -1507,8 +1507,8 @@ static int rx_submit(struct eth_dev *dev, struct usb_request *req,
  26. */
  27.  
  28. debug("%s\n", __func__);
  29. - if (!req)
  30. - return -EINVAL;
  31. +// if (!req)
  32. +// return -EINVAL;
  33.  
  34. size = (ETHER_HDR_SIZE + dev->mtu + RX_EXTRA);
  35. size += dev->out_ep->maxpacket - 1;
  36. diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
  37. index f1c270c..edb91fb 100644
  38. --- a/include/configs/am335x_evm.h
  39. +++ b/include/configs/am335x_evm.h
  40. @@ -227,6 +227,7 @@
  41. #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/am33xx/u-boot-spl.lds"
  42. #endif
  43.  
  44. +#define CONFIG_ENV_IS_NOWHERE
  45. #ifdef CONFIG_NAND
  46. /* NAND: device related configs */
  47. #define CONFIG_SYS_NAND_5_ADDR_CYCLE
  48. diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
  49. index 2bd1164..36e0b56 100644
  50. --- a/include/configs/ti_armv7_common.h
  51. +++ b/include/configs/ti_armv7_common.h
  52. @@ -127,7 +127,7 @@
  53. * we are on so we do not need to rely on the command prompt. We set a
  54. * console baudrate of 115200 and use the default baud rate table.
  55. */
  56. -#define CONFIG_SYS_MALLOC_LEN (16 << 20)
  57. +#define CONFIG_SYS_MALLOC_LEN (1024 << 10)
  58. #define CONFIG_SYS_HUSH_PARSER
  59. #define CONFIG_SYS_PROMPT "U-Boot# "
  60. #define CONFIG_SYS_CONSOLE_INFO_QUIET
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement