Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-06-01 Thread Jagan Teki
On Fri, Jun 1, 2018 at 1:32 AM, Martin Kelly wrote: > On 05/31/2018 12:58 PM, klaus.go...@theobroma-systems.com wrote: >> [snip] >> >> >> I run into the same issue for the rockchip architecture[1]. After giving >> up on finding a >> rock-solid solution for detecting the emtpy string I decided to

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Martin Kelly
On 05/31/2018 12:58 PM, klaus.go...@theobroma-systems.com wrote: On 31.05.2018, at 21:48, Martin Kelly wrote: On 05/31/2018 11:15 AM, klaus.go...@theobroma-systems.com wrote: 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/201

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread klaus . goger
> On 31.05.2018, at 21:48, Martin Kelly wrote: > > On 05/31/2018 11:15 AM, klaus.go...@theobroma-systems.com wrote: >> 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

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Martin Kelly
On 05/31/2018 11:15 AM, klaus.go...@theobroma-systems.com wrote: 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-c

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread klaus . goger
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 >

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Martin Kelly
On 05/31/2018 11:13 AM, Jagan Teki wrote: On Thu, May 17, 2018 at 5:31 PM, 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. A

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Jagan Teki
On Thu, May 17, 2018 at 5:31 PM, 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,

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-31 Thread Martin Kelly
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

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-23 Thread Martin Kelly
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 mig

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-17 Thread Maxime Ripard
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 differ

[U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-01 Thread Martin Kelly
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 sun