2015-11-01 20:38:00

by Noam Camus

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

> From: linux-snps-arc <[email protected]> on behalf of Alexey Brodkin <[email protected]>
> Sent: Sunday, November 1, 2015 1:21 AM
> To: [email protected]
> Cc: Vineet Gupta; Alexey Brodkin; [email protected]
> 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