From mboxrd@z Thu Jan 1 00:00:00 1970 From: klaus.goger at theobroma-systems.com Date: Thu, 31 May 2018 20:15:50 +0200 Subject: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override In-Reply-To: <13fb068e-2397-a8d4-0272-0749c0316c6f@xevo.com> References: <20180502004641.13415-1-mkelly@xevo.com> <20180517120118.vd6apamndc4i6ux2@flea> <09689eb8-9451-9508-319d-23aafba36e3b@xevo.com> <13fb068e-2397-a8d4-0272-0749c0316c6f@xevo.com> Message-ID: <8378D51C-2DE2-4735-9223-DD270C409BF3@theobroma-systems.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Hi Martin, > On 31.05.2018, at 19:49, Martin Kelly wrote: > > On 05/23/2018 11:34 AM, Martin Kelly wrote: >> On 05/17/2018 05:01 AM, Maxime Ripard wrote: >>> On Tue, May 01, 2018 at 05:46:41PM -0700, Martin Kelly wrote: >>>> Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes >>>> the kernel fdtfile and the u-boot devicetree names are the same. >>>> Although this is typically the case, sometimes you might want to >>>> customize one of these differently, so it's useful to allow them to be >>>> different. >>>> >>>> Add logic in sunxi-common.h to respect CONFIG_DEFAULT_FDT_FILE, if set, >>>> and default to the values it currently uses. >>>> >>>> Signed-off-by: Martin Kelly >>> >>> Acked-by: Maxime Ripard >>> >>> Maxime >>> >> (ping) > > (ping again) > > Can we get this patch merged? The else branch will never be selected. CONFIG_DEFAULT_FDT_FILE will be set to “” if not set by your defconfig.