Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig
- index 352c1fb..06c1059 100644
- --- a/configs/am335x_evm_usbspl_defconfig
- +++ b/configs/am335x_evm_usbspl_defconfig
- @@ -1,5 +1,5 @@
- CONFIG_SPL=y
- -CONFIG_SYS_EXTRA_OPTIONS="NAND,SPL_USBETH_SUPPORT"
- +CONFIG_SYS_EXTRA_OPTIONS="SPL_USBETH_SUPPORT"
- CONFIG_CONS_INDEX=1
- +S:CONFIG_ARM=y
- +S:CONFIG_TARGET_AM335X_EVM=y
- diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
- index ba442d5..f2c12b1 100644
- --- a/drivers/usb/gadget/ether.c
- +++ b/drivers/usb/gadget/ether.c
- @@ -91,7 +91,7 @@ static const char driver_desc[] = DRIVER_DESC;
- |USB_CDC_PACKET_TYPE_PROMISCUOUS \
- |USB_CDC_PACKET_TYPE_DIRECTED)
- -#define USB_CONNECT_TIMEOUT (3 * CONFIG_SYS_HZ)
- +#define USB_CONNECT_TIMEOUT (15 * CONFIG_SYS_HZ)
- /*-------------------------------------------------------------------------*/
- @@ -1507,8 +1507,8 @@ static int rx_submit(struct eth_dev *dev, struct usb_request *req,
- */
- debug("%s\n", __func__);
- - if (!req)
- - return -EINVAL;
- +// if (!req)
- +// return -EINVAL;
- size = (ETHER_HDR_SIZE + dev->mtu + RX_EXTRA);
- size += dev->out_ep->maxpacket - 1;
- diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
- index f1c270c..edb91fb 100644
- --- a/include/configs/am335x_evm.h
- +++ b/include/configs/am335x_evm.h
- @@ -227,6 +227,7 @@
- #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/am33xx/u-boot-spl.lds"
- #endif
- +#define CONFIG_ENV_IS_NOWHERE
- #ifdef CONFIG_NAND
- /* NAND: device related configs */
- #define CONFIG_SYS_NAND_5_ADDR_CYCLE
- diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
- index 2bd1164..36e0b56 100644
- --- a/include/configs/ti_armv7_common.h
- +++ b/include/configs/ti_armv7_common.h
- @@ -127,7 +127,7 @@
- * we are on so we do not need to rely on the command prompt. We set a
- * console baudrate of 115200 and use the default baud rate table.
- */
- -#define CONFIG_SYS_MALLOC_LEN (16 << 20)
- +#define CONFIG_SYS_MALLOC_LEN (1024 << 10)
- #define CONFIG_SYS_HUSH_PARSER
- #define CONFIG_SYS_PROMPT "U-Boot# "
- #define CONFIG_SYS_CONSOLE_INFO_QUIET
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement