mbox series

[0/4] ARM: uniphier: decrease the SPL image size to fix uniphier_v7_defconfig

Message ID 1524215667-32112-1-git-send-email-yamada.masahiro@socionext.com
Headers show
Series ARM: uniphier: decrease the SPL image size to fix uniphier_v7_defconfig | expand

Message

Masahiro Yamada April 20, 2018, 9:14 a.m. UTC
Usually, the image size tends to increase gradually.
Finally, it is hitting the size limit for my board.

One size consuming part is the clock driver, and it is only used
by the SD/eMMC driver in SPL.  By disabling it, I can save lots of space.



Masahiro Yamada (4):
  mmc: tmio: move clk_enable() to each driver's probe function
  mmc: uniphier-sd: skip clock set-up for SPL
  ARM: dts: uniphier: drop u-boot,dm-pre-reloc from SD/eMMC clock node
  clk: uniphier: disable SPL_CLK

 arch/arm/dts/uniphier-v7-u-boot.dtsi | 16 ----------------
 drivers/clk/uniphier/Kconfig         |  1 -
 drivers/mmc/renesas-sdhi.c           | 23 +++++++++++++++++++++++
 drivers/mmc/tmio-common.c            | 22 ----------------------
 drivers/mmc/uniphier-sd.c            | 29 +++++++++++++++++++++++++++++
 5 files changed, 52 insertions(+), 39 deletions(-)

Comments

Masahiro Yamada April 23, 2018, 4:03 p.m. UTC | #1
2018-04-20 18:14 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
>
> Usually, the image size tends to increase gradually.
> Finally, it is hitting the size limit for my board.
>
> One size consuming part is the clock driver, and it is only used
> by the SD/eMMC driver in SPL.  By disabling it, I can save lots of space.
>
>
>
> Masahiro Yamada (4):
>   mmc: tmio: move clk_enable() to each driver's probe function
>   mmc: uniphier-sd: skip clock set-up for SPL
>   ARM: dts: uniphier: drop u-boot,dm-pre-reloc from SD/eMMC clock node
>   clk: uniphier: disable SPL_CLK

Applied to u-boot-uniphier.