[U-Boot] [PATCH v2 0/5] Patches to reduce TPL code size

Simon Glass sjg at chromium.org
Sun Apr 2 15:50:27 UTC 2017


With the rockchip 'rock' board some build and code size problems have come
to light with TPL. This series provides a few ideas to improve things.

Changes in v2:
- Adjust the option to be SPL-only
- Change the option to default to off (name it CONFIG_SPL_TINY_MEMSET)
- Add a new patch to enable CONFIG_SPL_TINY_MEMSET
- Add new patch to allow driver model to be disabled for TPL
- Add new patch to allow driver-model serial to be disabled for TPL

Simon Glass (5):
  string: Provide a slimmed-down memset()
  rockchip: rock: Enable CONFIG_SPL_TINY_MEMSET
  Makefile: Provide an option to select SPL or TPL
  dm: core: Allow driver model to be disabled for TPL
  dm: serial: Allow driver-model serial to be disabled for TPL

 configs/rock_defconfig  |  1 +
 drivers/Makefile        |  2 +-
 drivers/core/Kconfig    | 14 ++++++++++++++
 drivers/serial/Kconfig  | 20 ++++++++++++++++++++
 drivers/serial/Makefile |  2 +-
 lib/Kconfig             |  8 ++++++++
 lib/string.c            |  6 ++++--
 scripts/Kbuild.include  |  6 ++++++
 scripts/Makefile.spl    |  6 ++++++
 9 files changed, 61 insertions(+), 4 deletions(-)

-- 
2.12.2.564.g063fe858b8-goog



More information about the U-Boot mailing list