[U-Boot] [PATCH v4 6/6] common: Generic loader for file system

Simon Glass sjg at chromium.org
Tue Sep 25 19:39:53 UTC 2018


Hi,

On 25 September 2018 at 01:02, Chee, Tien Fong <tien.fong.chee at intel.com> wrote:
> On Thu, 2018-09-20 at 21:42 -0700, Chee, Tien Fong wrote:
>> >
> If everybody agree with current framework, then the next version i will
> include the fixes:
> 1. Adding DM_FLAG_PRE_RELOC, this would allow runtime to choose the
> right fs_loader if the chosen node u-boot, fs-loader is not defined.
>
> 2. Let driver model handles all memory allocation
>
> 3. Using local variable instead of messy casts.

Sounds good.

Can you please give an example of this? If you just mean within a
function, that's fine. We try to avoid static variables with driver
model.

Regards,
Simon


More information about the U-Boot mailing list