* [U-Boot] [U-BOOT][V3 PATCH] configs: icore: Fix U-Boot proper loading from nand
@ 2019-03-08 7:35 Shyam Saini
2019-03-08 10:28 ` Fabio Estevam
0 siblings, 1 reply; 2+ messages in thread
From: Shyam Saini @ 2019-03-08 7:35 UTC (permalink / raw)
To: u-boot
From: Michael Trimarchi <michael@amarulasolutions.com>
SPL on Engicam i.Core M6 boards enabled DM, so it would require some
malloc() pool before relocation in order to load U-Boot proper properly.
So, enable SPL malloc() pool of 0x2000 size similarly like what we have
used for icore mmc defconfigs.
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Shyam Saini <shyam.saini@amarulasolutions.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
Changelogs:
V2:
improve commit message
V3:
include Changelogs
cc Stefano Babic and Fabio Estevam
---
configs/imx6dl_icore_nand_defconfig | 1 +
configs/imx6q_icore_nand_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/imx6dl_icore_nand_defconfig b/configs/imx6dl_icore_nand_defconfig
index c34c515080e9..69c45b948b3a 100644
--- a/configs/imx6dl_icore_nand_defconfig
+++ b/configs/imx6dl_icore_nand_defconfig
@@ -4,6 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x17800000
CONFIG_SPL_GPIO_SUPPORT=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_TARGET_MX6Q_ENGICAM=y
CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL=y
diff --git a/configs/imx6q_icore_nand_defconfig b/configs/imx6q_icore_nand_defconfig
index cf149d615b32..b53a5010e5dd 100644
--- a/configs/imx6q_icore_nand_defconfig
+++ b/configs/imx6q_icore_nand_defconfig
@@ -4,6 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x17800000
CONFIG_SPL_GPIO_SUPPORT=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_TARGET_MX6Q_ENGICAM=y
CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL=y
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [U-BOOT][V3 PATCH] configs: icore: Fix U-Boot proper loading from nand
2019-03-08 7:35 [U-Boot] [U-BOOT][V3 PATCH] configs: icore: Fix U-Boot proper loading from nand Shyam Saini
@ 2019-03-08 10:28 ` Fabio Estevam
0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2019-03-08 10:28 UTC (permalink / raw)
To: u-boot
On Fri, Mar 8, 2019 at 4:35 AM Shyam Saini
<shyam.saini@amarulasolutions.com> wrote:
>
> From: Michael Trimarchi <michael@amarulasolutions.com>
>
> SPL on Engicam i.Core M6 boards enabled DM, so it would require some
> malloc() pool before relocation in order to load U-Boot proper properly.
>
> So, enable SPL malloc() pool of 0x2000 size similarly like what we have
> used for icore mmc defconfigs.
>
> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
> Tested-by: Shyam Saini <shyam.saini@amarulasolutions.com>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-08 10:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-08 7:35 [U-Boot] [U-BOOT][V3 PATCH] configs: icore: Fix U-Boot proper loading from nand Shyam Saini
2019-03-08 10:28 ` Fabio Estevam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.