diff mbox series

[6/6] mx6cuboxi: enable OF_PLATDATA

Message ID 20200721172219.32300-7-walter.lozano@collabora.com
State Superseded
Delegated to: Stefano Babic
Headers show
Series mx6cuboxi: enable OF_PLATDATA with MMC support | expand

Commit Message

Walter Lozano July 21, 2020, 5:22 p.m. UTC
As both MMC and GPIO driver now supports OF_PLATDATA, enable it in
defconfig in order to reduce the SPL footprint.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
---

 configs/mx6cuboxi_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Fabio Estevam July 21, 2020, 8:58 p.m. UTC | #1
Hi Walter,

On Tue, Jul 21, 2020 at 2:24 PM Walter Lozano
<walter.lozano@collabora.com> wrote:
>
> As both MMC and GPIO driver now supports OF_PLATDATA, enable it in
> defconfig in order to reduce the SPL footprint.

Could you add in the commit log how many kB of SPL size reduction this gives?

Thanks
Walter Lozano July 22, 2020, 1:15 p.m. UTC | #2
Hi Fabio,

On 21/7/20 17:58, Fabio Estevam wrote:
> Hi Walter,
>
> On Tue, Jul 21, 2020 at 2:24 PM Walter Lozano
> <walter.lozano@collabora.com> wrote:
>> As both MMC and GPIO driver now supports OF_PLATDATA, enable it in
>> defconfig in order to reduce the SPL footprint.
> Could you add in the commit log how many kB of SPL size reduction this gives?
>
Sure, thanks for the feedback.

Regards,

Walter
diff mbox series

Patch

diff --git a/configs/mx6cuboxi_defconfig b/configs/mx6cuboxi_defconfig
index cd4d4da43e..54e5b76f3c 100644
--- a/configs/mx6cuboxi_defconfig
+++ b/configs/mx6cuboxi_defconfig
@@ -42,6 +42,7 @@  CONFIG_SPL_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="imx6dl-hummingboard2-emmc-som-v15"
 CONFIG_OF_LIST="imx6dl-hummingboard2-emmc-som-v15 imx6q-hummingboard2-emmc-som-v15"
 CONFIG_MULTI_DTB_FIT=y
+CONFIG_SPL_OF_PLATDATA=y
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y