Re: [PATCH] arc: dts - remove default value if CONFIG_ARC_BUILTIN_DTB_NAME is blank

From: Noam Camus
Date: Sun Nov 01 2015 - 15:38:03 EST


> From: linux-snps-arc <linux-snps-arc-bounces@xxxxxxxxxxxxxxxxxxx> on behalf of Alexey Brodkin <Alexey.Brodkin@xxxxxxxxxxxx>
> Sent: Sunday, November 1, 2015 1:21 AM
> To: linux-snps-arc@xxxxxxxxxxxxxxxxxxx
> Cc: Vineet Gupta; Alexey Brodkin; linux-kernel@xxxxxxxxxxxxxxx
> Subject: [PATCH] arc: dts - remove default value if CONFIG_ARC_BUILTIN_DTB_NAME is blank

> As of today default .dtb will be built (and subsequently will be built-in
> kernel binary) even if CONFIG_ARC_BUILTIN_DTB_NAME is not set.

> But it is possible we're going to use external .dtb and so we don't want to
have .dtb built-in kernel binary.

> For example that could be the case with:
> a) U-Boot which loads .dtb in DDR and passes its address to the kernel
> b) OpenWRT which embeds .dtb in existing kernel binary

> This change excludes .dtb building if CONFIG_ARC_BUILTIN_DTB_NAME is
blank.

You can add my Ack (worked on my platform)
Noam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/