From: Vignesh Raghavendra Date: Tue, 18 Feb 2020 10:28:02 +0530 Subject: [PATCH] am335x: evm: defconfig: disable spl tiny printf In-Reply-To: References: <20200213133407.11477-1-moseschristopherb@gmail.com> Message-ID: <8cd241d4-33ce-3cb9-b296-2156ceaf172c@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17/02/20 9:16 am, Lokesh Vutla wrote: > > > On 13/02/20 7:04 PM, moseschristopherb at gmail.com wrote: >> From: Moses Christopher Bollavarapu >> >> - As tiny printf lib is further optimized, the ability to deal with >> ethaddr is lost. Hence, in order to handle usb-eth boot from SPL >> we need to disable tiny printf. >> >> - Tested on Beagle Bone Black >> >> Signed-off-by: Moses Christopher Bollavarapu > > This significantly increases the code size. Did you check how much is increased? > SPL_TINY PRINTF is enabled on am335x_evm_defconfig to reduce the code size. > Wondering what allowed to be built even after disabling tiny printf. > I agree with Lokesh. Fix should be to revert the change that broke tiny printf as its breaks an already supported feature. Disabling SPL_TINY_PRINTF bloats AM335x SPL image size which is already at limit. Regards Vignesh