diff mbox series

[U-Boot,1/3] ARM: imx6q_logic: Enable 256KB OCRAM

Message ID 20191009175357.27445-1-aford173@gmail.com
State Accepted
Commit f9faa1616b3ba09797d127eb63b00a210cc7f0af
Delegated to: Stefano Babic
Headers show
Series [U-Boot,1/3] ARM: imx6q_logic: Enable 256KB OCRAM | expand

Commit Message

Adam Ford Oct. 9, 2019, 5:53 p.m. UTC
Since this board config only supports, the i.MX6D/i.MX6Q configurations,
256K of on-chip RAM is available which increases the space available
to SPL to help further reduce board code and further enable device tree
functions.

This patch enables 256K of RAM.

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Fabio Estevam Oct. 9, 2019, 6:07 p.m. UTC | #1
On Wed, Oct 9, 2019 at 2:54 PM Adam Ford <aford173@gmail.com> wrote:
>
> Since this board config only supports, the i.MX6D/i.MX6Q configurations,
> 256K of on-chip RAM is available which increases the space available
> to SPL to help further reduce board code and further enable device tree
> functions.
>
> This patch enables 256K of RAM.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Stefano Babic Oct. 14, 2019, 12:40 p.m. UTC | #2
> Since this board config only supports, the i.MX6D/i.MX6Q configurations,
> 256K of on-chip RAM is available which increases the space available
> to SPL to help further reduce board code and further enable device tree
> functions.
> This patch enables 256K of RAM.
> Signed-off-by: Adam Ford <aford173@gmail.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
> diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig
> index 6125ee2bc2..a9e8cbea94 100644
> --- a/configs/imx6q_logic_defconfig
> +++ b/configs/imx6q_logic_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_MX6_OCRAM_256KB=y
>  CONFIG_TARGET_MX6LOGICPD=y
>  CONFIG_SPL_MMC_SUPPORT=y
>  CONFIG_SPL_SERIAL_SUPPORT=y

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig
index 6125ee2bc2..a9e8cbea94 100644
--- a/configs/imx6q_logic_defconfig
+++ b/configs/imx6q_logic_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_MX6_OCRAM_256KB=y
 CONFIG_TARGET_MX6LOGICPD=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y