On Wed, Dec 02, 2015 at 10:59:13AM -0700, Simon Glass wrote:

> It is risky to have two different functions with much the same code. Future
> authors may update one but not the other. It is hard to see which parts are
> the same and which are different.
> 
> Unify the functions and drop the differences that are not really needed.
> 
> Note that one puts() becomes printf() as Tom mentioned that this does not
> affect image size:
> 
> https://patchwork.ozlabs.org/patch/537276/
> 
> Note: It would be better to have an empty printf() and avoid the #ifdef for
> CONFIG_SPL_LIBCOMMON_SUPPORT.
> 
> Signed-off-by: Simon Glass <s...@chromium.org>
> Tested-by: Michal Simek <michal.si...@xilinx.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to