[U-Boot] [PATCH v2] libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT

Simon Glass sjg at chromium.org
Mon Mar 27 02:27:18 UTC 2017


On 19 March 2017 at 22:34, Vignesh R <vigneshr at ti.com> wrote:
> Use CONFIG_IS_ENABLED() macro to check whether OF_TRANSLATE is enabled, so
> that code block is compiled irrespective of SPL or U-Boot build
> and fdt address translation is used.
>
> Signed-off-by: Vignesh R <vigneshr at ti.com>
> ---
>
> v2:
> * Depend on OF_TRANSLATE instead of OF_LIBFDT so that boards like
>   chromebook_link64_defconfig compile fine.
>
>  lib/fdtdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list