[U-Boot] [PATCH] spl: Change printf to puts for "Unsupported boot-device"

Michal Simek michal.simek at xilinx.com
Tue Jan 27 19:02:59 CET 2015


On 01/27/2015 05:02 PM, Tom Rini wrote:
> On Tue, Jan 27, 2015 at 04:45:09PM +0100, Stefan Roese wrote:
> 
>> Microblaze currently doesn't use printf in SPL. So this one line was the only
>> reference to it and resulted in the printf functionality to be pulled in.
>> Exceeding the 4k size limit. Lets change the printf back to puts so that
>> Microblaze is fixed again. The only drawback is that the detected boot-device
>> number will not be printed. But this message alone should be helpful enough
>> to get an idea where the boot process is broken.
>>
>> Signed-off-by: Stefan Roese <sr at denx.de>
>> Cc: Tom Rini <trini at ti.com>
>> Cc: Michal Simek <michal.simek at xilinx.com>
> 
> Since we have a debug() higher up that will print out what the value is,
> I'm OK with this and I'll apply shortly, thanks!
> 

Works for me.
Acked-by: Michal Simek <michal.simek at xilinx.com>

Thanks,
Michal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150127/f8399cfc/attachment.pgp>


More information about the U-Boot mailing list