public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 0/6] mx6cuboxi: enable OF_PLATDATA with MMC support
@ 2020-07-29 15:31 Walter Lozano
  2020-07-29 15:31 ` [PATCH v3 1/6] mmc: fsl_esdhc_imx: rename driver name to match ll_entry Walter Lozano
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Walter Lozano @ 2020-07-29 15:31 UTC (permalink / raw)
  To: u-boot

The SPL in iMX6 boards is restricted to 68 KB as this is the free available
space in OCRAM for most revisions. In this context, adding OF_CONTROL and
DM increases the SPL size which could make it difficult to add specific
features required for custom scenarios.

These patches aim to take advantage of OF_PLATADATA in order to reduce the
SPL size in this scenario, by parsing DT data to generate platdata
structures, and thus removing the overhead caused by DT and related
libraries.

This series is focused in MMC driver, which is used for boot in boards such
as Cubox-i. Also, in order to support CD, the OF_PLATDATA support is also
implemented on GPIO driver.

After applying this setting the SPL reduction is 5 KB, which partially
compensates the increment due to DM.

Changes in v3:
- Fix commit message
- Rework to resolve merge conflicts
- Change #ifdef to if when possible

Changes in v2:
- Improve commit message with footprint reduction

Walter Lozano (6):
  mmc: fsl_esdhc_imx: rename driver name to match ll_entry
  mmc: fsl_esdhc_imx: add OF_PLATDATA support
  gpio: mxc_gpio: add OF_PLATDATA support
  mmc: fsl_esdhc_imx: add CD support when OF_PLATDATA is enabled
  drivers: rename more drivers to match compatible string
  mx6cuboxi: enable OF_PLATDATA

 configs/mx6cuboxi_defconfig        |  1 +
 drivers/gpio/mxc_gpio.c            | 26 +++++++--
 drivers/mmc/fsl_esdhc_imx.c        | 92 +++++++++++++++++++++++++-----
 drivers/pinctrl/nxp/pinctrl-imx6.c |  6 +-
 drivers/video/imx/mxc_ipuv3_fb.c   |  4 +-
 5 files changed, 105 insertions(+), 24 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-08-04  8:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-29 15:31 [PATCH v3 0/6] mx6cuboxi: enable OF_PLATDATA with MMC support Walter Lozano
2020-07-29 15:31 ` [PATCH v3 1/6] mmc: fsl_esdhc_imx: rename driver name to match ll_entry Walter Lozano
2020-08-04  8:52   ` sbabic at denx.de
2020-07-29 15:31 ` [PATCH v3 2/6] mmc: fsl_esdhc_imx: add OF_PLATDATA support Walter Lozano
2020-08-04  8:52   ` sbabic at denx.de
2020-07-29 15:31 ` [PATCH v3 3/6] gpio: mxc_gpio: " Walter Lozano
2020-08-04  8:52   ` sbabic at denx.de
2020-07-29 15:31 ` [PATCH v3 4/6] mmc: fsl_esdhc_imx: add CD support when OF_PLATDATA is enabled Walter Lozano
2020-08-04  8:52   ` sbabic at denx.de
2020-07-29 15:31 ` [PATCH v3 5/6] drivers: rename more drivers to match compatible string Walter Lozano
2020-08-04  8:52   ` sbabic at denx.de
2020-07-29 15:31 ` [PATCH v3 6/6] mx6cuboxi: enable OF_PLATDATA Walter Lozano
2020-08-04  8:52   ` sbabic at denx.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox