[U-Boot] [RESEND PATCH] common: add blkcache init

Tom Rini trini at konsulko.com
Wed Jan 15 21:47:52 CET 2020


On Sat, Nov 23, 2019 at 11:51:11PM +0100, Angelo Dureghello wrote:

> From: Angelo Durgehello <angelo.dureghello at timesys.com>
> 
> On m68k, block_cache list is relocated, but next and prev list
> pointers are not adjusted to the relocated struct list_head address,
> so the first iteration over the block_cache list hangs.
> 
> This patch initializes the block_cache list after relocation.
> 
> Signed-off-by: Angelo Durgehello <angelo.dureghello at timesys.com>

As noted by Eric in the original posting, we don't need the indirection
just for the name as there's not really a hard rule about names there,
please just call the function directly, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200115/609e818e/attachment.sig>


More information about the U-Boot mailing list