Re: [RFC PATCH 1/7] spl: Add generic spl_load function

2022-04-07 Thread Stefan Roese
On 4/7/22 17:10, Sean Anderson wrote: On 4/6/22 1:30 AM, Stefan Roese wrote: On 4/1/22 21:03, Sean Anderson wrote: Implementers of SPL_LOAD_IMAGE_METHOD have to correctly determine what type of image is being loaded and then call the appropriate image load function correctly. This is tricky,

Re: [RFC PATCH 1/7] spl: Add generic spl_load function

2022-04-07 Thread Sean Anderson
On 4/6/22 1:30 AM, Stefan Roese wrote: > On 4/1/22 21:03, Sean Anderson wrote: >> Implementers of SPL_LOAD_IMAGE_METHOD have to correctly determine what >> type of image is being loaded and then call the appropriate image load >> function correctly. This is tricky, because some image load functi

Re: [RFC PATCH 1/7] spl: Add generic spl_load function

2022-04-05 Thread Stefan Roese
On 4/1/22 21:03, Sean Anderson wrote: Implementers of SPL_LOAD_IMAGE_METHOD have to correctly determine what type of image is being loaded and then call the appropriate image load function correctly. This is tricky, because some image load functions expect the whole image to already be loaded (CO

[RFC PATCH 1/7] spl: Add generic spl_load function

2022-04-01 Thread Sean Anderson
Implementers of SPL_LOAD_IMAGE_METHOD have to correctly determine what type of image is being loaded and then call the appropriate image load function correctly. This is tricky, because some image load functions expect the whole image to already be loaded (CONFIG_SPL_LOAD_FIT_FULL), some will load