Patchwork [U-Boot] edminiv2: increase malloc len to 256K

login
register
mail settings
Submitter Albert ARIBAUD
Date Sept. 22, 2012, 12:57 a.m.
Message ID <1348275432-15594-1-git-send-email-albert.u.boot@aribaud.net>
Download mbox | patch
Permalink /patch/186000/
State Accepted
Headers show

Comments

Albert ARIBAUD - Sept. 22, 2012, 12:57 a.m.
Malloc len of 128K caused a warning from
ehci_hcd asking for more.

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
---
Note: this has been tested on target -- actually,
target is now flashed with the merge of u-boot/arm
and u-boot master branches plus this patch.

 include/configs/edminiv2.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Prafulla Wadaskar - Sept. 23, 2012, 5:24 a.m.
> -----Original Message-----
> From: u-boot-bounces@lists.denx.de [mailto:u-boot-
> bounces@lists.denx.de] On Behalf Of Albert ARIBAUD
> Sent: 22 September 2012 06:27
> To: u-boot@lists.denx.de
> Subject: [U-Boot] [PATCH] edminiv2: increase malloc len to 256K
> 
> Malloc len of 128K caused a warning from
> ehci_hcd asking for more.
> 
> Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
> Note: this has been tested on target -- actually,
> target is now flashed with the merge of u-boot/arm
> and u-boot master branches plus this patch.
> 
>  include/configs/edminiv2.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
> index f2cfaf8..adb505e 100644
> --- a/include/configs/edminiv2.h
> +++ b/include/configs/edminiv2.h
> @@ -222,7 +222,7 @@
>  /*
>   * Size of malloc() pool
>   */
> -#define CONFIG_SYS_MALLOC_LEN	(1024 * 128) /* 128kB for malloc()
> */
> +#define CONFIG_SYS_MALLOC_LEN	(1024 * 256) /* 256kB for malloc()
> */
> 
>  /*
>   * Other required minimal configurations

Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
Will pull this patch latter.

Regards...
Prafulla . . .
Prafulla Wadaskar - Sept. 28, 2012, 6:28 a.m.
> -----Original Message-----
> From: u-boot-bounces@lists.denx.de [mailto:u-boot-
> bounces@lists.denx.de] On Behalf Of Albert ARIBAUD
> Sent: 22 September 2012 06:27
> To: u-boot@lists.denx.de
> Subject: [U-Boot] [PATCH] edminiv2: increase malloc len to 256K
> 
> Malloc len of 128K caused a warning from
> ehci_hcd asking for more.
> 
> Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
> Note: this has been tested on target -- actually,
> target is now flashed with the merge of u-boot/arm
> and u-boot master branches plus this patch.
> 
>  include/configs/edminiv2.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
> index f2cfaf8..adb505e 100644
> --- a/include/configs/edminiv2.h
> +++ b/include/configs/edminiv2.h
> @@ -222,7 +222,7 @@
>  /*
>   * Size of malloc() pool
>   */
> -#define CONFIG_SYS_MALLOC_LEN	(1024 * 128) /* 128kB for malloc()
> */
> +#define CONFIG_SYS_MALLOC_LEN	(1024 * 256) /* 256kB for malloc()
> */
> 
>  /*
>   * Other required minimal configurations
> --

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . . .

Patch

diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index f2cfaf8..adb505e 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -222,7 +222,7 @@ 
 /*
  * Size of malloc() pool
  */
-#define CONFIG_SYS_MALLOC_LEN	(1024 * 128) /* 128kB for malloc() */
+#define CONFIG_SYS_MALLOC_LEN	(1024 * 256) /* 256kB for malloc() */
 
 /*
  * Other required minimal configurations