[U-Boot] [PATCH 043/126] spl: Allow tiny printf() to be controlled in SPL and TPL

Bin Meng bmeng.cn at gmail.com
Mon Oct 7 01:00:17 UTC 2019


On Sat, Oct 5, 2019 at 11:18 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass <sjg at chromium.org> wrote:
> >
> > At present there is only one control for this and it is used for both SPL
> > and TPL. But SPL might have a lot more space than TPL so the extra cost of
> > a full printf() might be acceptable.
> >
> > Split the option into two, providing separate SPL and TPL controls. The
> > TPL setting defaults to the same as SPL.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> >  arch/arm/Kconfig                              |  2 +-
> >  arch/arm/mach-omap2/Kconfig                   |  6 +++---
> >  arch/arm/mach-rmobile/Kconfig                 |  2 +-
> >  arch/arm/mach-rmobile/Kconfig.32              | 14 ++++++-------
> >  arch/arm/mach-socfpga/Kconfig                 |  4 ++--
> >  common/spl/Kconfig                            |  2 +-
> >  common/xyzModem.c                             |  2 +-
> >  configs/am335x_pdu001_defconfig               |  2 +-
> >  configs/ls1043ardb_nand_SECURE_BOOT_defconfig |  2 +-
> >  configs/ls1043ardb_nand_defconfig             |  2 +-
> >  .../ls1043ardb_sdcard_SECURE_BOOT_defconfig   |  2 +-
> >  configs/ls1043ardb_sdcard_defconfig           |  2 +-
> >  configs/sandbox_spl_defconfig                 |  2 +-
> >  drivers/gpio/gpio-uclass.c                    |  4 ++--
> >  drivers/mmc/mmc.c                             |  2 +-
> >  drivers/mtd/spi/sf-uclass.c                   |  2 +-
> >  lib/Kconfig                                   | 20 +++++++++++++++----
> >  lib/Makefile                                  |  2 +-
> >  18 files changed, 43 insertions(+), 31 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list