From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sat, 5 Oct 2019 23:18:24 +0800 Subject: [U-Boot] [PATCH 043/126] spl: Allow tiny printf() to be controlled in SPL and TPL In-Reply-To: <20190925145750.200592-44-sjg@chromium.org> References: <20190925145750.200592-1-sjg@chromium.org> <20190925145750.200592-44-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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