[U-Boot] [PATCH 1/2] spl: Move check for SPL_LIBCOMMON support to header

Simon Glass sjg at chromium.org
Thu Jan 19 14:57:13 CET 2017


On 6 January 2017 at 12:09, Andrew F. Davis <afd at ti.com> wrote:
>
> Print statements in SPL depend on lib/common support, so many such
> statements are ifdef'd, move the check to the common.h header and
> remove these inline checks.
>
> Signed-off-by: Andrew F. Davis <afd at ti.com>
> ---
>  common/spl/spl.c         |  2 --
>  common/spl/spl_ext.c     |  8 --------
>  common/spl/spl_fat.c     |  6 ------
>  common/spl/spl_fit.c     |  4 ----
>  common/spl/spl_mmc.c     | 18 ------------------
>  common/spl/spl_sata.c    |  2 --
>  common/spl/spl_usb.c     |  2 --
>  drivers/mmc/mmc.c        | 10 ----------
>  drivers/mmc/mmc_legacy.c |  2 --
>  include/common.h         |  3 ++-
>  10 files changed, 2 insertions(+), 55 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list