[U-Boot] [U-Boot, v2, 03/23] Add core support for a bloblist to convey data from SPL

Tom Rini trini at konsulko.com
Fri Nov 9 18:42:56 UTC 2018


On Tue, Oct 02, 2018 at 05:22:33AM -0600, Simon Glass wrote:

> At present there is no standard way in U-Boot to pass information from SPL
> to U-Boot proper. But sometimes SPL wants to convey information to U-Boot
> that U-Boot cannot easily figure out. For example, if SPL sets up SDRAM
> then it might want to pass the size of SDRAM, or the location of each
> bank, to U-Boot proper.
> 
> Add a new 'bloblist' feature which provides this. A bloblist is set up in
> the first phase of U-Boot that runs (i.e. TPL or SPL). The location of
> this info may be in SRAM or CAR (x86 cache-as-RAM) or somewhere else.
> 
> Information placed in this region is preserved (with a checksum) through
> TPL and SPL and ends up in U-Boot. At this point it is copied into SDRAM
> so it can be used after relocation.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Andreas Dannenberg <dannenberg at ti.com>

In general:

Reviewed-by: Tom Rini <trini at konsulko.com>

But:
> +config BLOBLIST_ADDR
> +	hex "Address of bloblist"
> +	depends on BLOBLIST
> +	default 0xe000

This default needs to be if WHATEVER, for whatever platform that's a
valid address for using by default.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181109/62daf2de/attachment.sig>


More information about the U-Boot mailing list