On 9/3/19 5:49 PM, Lukasz Majewski wrote:
> Hi Måns, Marek,
> 
>> Marek Vasut <ma...@denx.de> writes:
>>
>>> On 9/3/19 4:16 PM, Lukasz Majewski wrote:  
>>>> From: Mans Rullgard <m...@mansr.com>
>>>>
>>>> This change allows setting pre-defined eMMC boot partition for SPL
>>>> eMMC booting. It is necessary in the case when one wants to boot
>>>> (through falcon boot) from eMMC after loading SPL from other
>>>> memory (like SPI-NOR).
>>>>
>>>> Signed-off-by: Mans Rullgard <m...@mansr.com>
>>>> [lukma: Edit the commit message]
>>>> Signed-off-by: Lukasz Majewski <lu...@denx.de>
>>>> Acked-by: Andreas Dannenberg <dannenb...@ti.com>  
>>>
>>> Would it be better if this came from /chosen node in DT ?  
>>
>> This patch was made for an imx28 based board.  Fitting DT support into
>> SPL on that chip won't be easy.
> 
> Unfortunately, on purpose the DT support for SPL on this board is
> disabled.
> 
> This is the case where the only eligible option is to use OF_PLATDATA,
> to benefit from DM drivers, but also to keep the size as small as
> possible.
> 
> (Please refer to xea board support patches for more details).

Hm, then shall we use platdata ? I don't think that fits common code
like this either.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to