[U-Boot] [PATCH] spl: mmc: Add option to set eMMC HW boot partition

Lukasz Majewski lukma at denx.de
Tue Sep 3 15:49:10 UTC 2019


Hi Måns, Marek,

> Marek Vasut <marex at denx.de> writes:
> 
> > On 9/3/19 4:16 PM, Lukasz Majewski wrote:  
> >> From: Mans Rullgard <mans at 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 <mans at mansr.com>
> >> [lukma: Edit the commit message]
> >> Signed-off-by: Lukasz Majewski <lukma at denx.de>
> >> Acked-by: Andreas Dannenberg <dannenberg at 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).

> 



Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190903/1a21d908/attachment.sig>


More information about the U-Boot mailing list