Re: [U-Boot] [PATCH 047/126] spl: Allow SPL/TPL to use of-platdata without libfdt

2019-10-13 Thread Simon Glass
Hi Bin, On Mon, 7 Oct 2019 at 23:46, Bin Meng wrote: > > On Mon, Oct 7, 2019 at 9:55 AM Bin Meng wrote: > > > > On Sat, Oct 5, 2019 at 11:30 PM Bin Meng wrote: > > > > > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > > > > > At present libfdt is included in SPL/TPL if

Re: [U-Boot] [PATCH 047/126] spl: Allow SPL/TPL to use of-platdata without libfdt

2019-10-07 Thread Bin Meng
On Mon, Oct 7, 2019 at 9:55 AM Bin Meng wrote: > > On Sat, Oct 5, 2019 at 11:30 PM Bin Meng wrote: > > > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > > > At present libfdt is included in SPL/TPL if SPL/TPL_OF_CONTROL is enabled. > > > But if of-platdata is in use this is not

Re: [U-Boot] [PATCH 047/126] spl: Allow SPL/TPL to use of-platdata without libfdt

2019-10-06 Thread Bin Meng
On Sat, Oct 5, 2019 at 11:30 PM Bin Meng wrote: > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > At present libfdt is included in SPL/TPL if SPL/TPL_OF_CONTROL is enabled. > > But if of-platdata is in use this is not required. Update the condition to > > avoid building this extra

Re: [U-Boot] [PATCH 047/126] spl: Allow SPL/TPL to use of-platdata without libfdt

2019-10-05 Thread Bin Meng
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > At present libfdt is included in SPL/TPL if SPL/TPL_OF_CONTROL is enabled. > But if of-platdata is in use this is not required. Update the condition to > avoid building this extra code. This ensures that if a libfdt function is > used it

[U-Boot] [PATCH 047/126] spl: Allow SPL/TPL to use of-platdata without libfdt

2019-09-25 Thread Simon Glass
At present libfdt is included in SPL/TPL if SPL/TPL_OF_CONTROL is enabled. But if of-platdata is in use this is not required. Update the condition to avoid building this extra code. This ensures that if a libfdt function is used it will produce a link error rather than silently increasing the