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

2019-10-06 Thread Bin Meng
On Sat, Oct 5, 2019 at 11:18 PM Bin Meng  wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass  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 
> > ---
> >
> >  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 

applied to u-boot-x86/next, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-10-05 Thread Bin Meng
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass  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 
> ---
>
>  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 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot