Re: [PATCH v5 05/11] spl: Convert mmc to spl_load

2023-09-05 Thread Xavier Drudis Ferran
El Tue, Sep 05, 2023 at 11:02:44AM -0400, Sean Anderson deia: > On 9/4/23 08:59, Xavier Drudis Ferran wrote: > > El Sun, Sep 03, 2023 at 08:17:26AM +, Jonas Karlman deia: > > > >> > Fundamentally, we can't really deal with unaligned images without a > >> > bounce-buffer. The method used by SPL

Re: [PATCH v5 05/11] spl: Convert mmc to spl_load

2023-09-05 Thread Sean Anderson
On 9/4/23 08:59, Xavier Drudis Ferran wrote: > El Sun, Sep 03, 2023 at 08:17:26AM +, Jonas Karlman deia: > >> > Fundamentally, we can't really deal with unaligned images without a >> > bounce-buffer. The method used by SPL_LOAD_FIT_IMAGE_BUFFER_SIZE will >> > continue working, since we call in

Re: [PATCH v5 05/11] spl: Convert mmc to spl_load

2023-09-04 Thread Xavier Drudis Ferran
El Sun, Sep 03, 2023 at 08:17:26AM +, Jonas Karlman deia: > > Fundamentally, we can't really deal with unaligned images without a > > bounce-buffer. The method used by SPL_LOAD_FIT_IMAGE_BUFFER_SIZE will > > continue working, since we call into the FIT routines to load the image. Yes > > I w

Re: [PATCH v5 05/11] spl: Convert mmc to spl_load

2023-09-03 Thread Jonas Karlman
On 2023-08-03 18:11, Sean Anderson wrote: > On 8/3/23 04:31, Xavier Drudis Ferran wrote: >> El Mon, Jul 31, 2023 at 06:42:57PM -0400, Sean Anderson deia: >>> This converts the mmc loader to spl_load. Legacy images are handled by >>> spl_load (via spl_parse_image_header), so mmc_load_legacy can be >

Re: [PATCH v5 05/11] spl: Convert mmc to spl_load

2023-08-03 Thread Sean Anderson
On 8/3/23 04:31, Xavier Drudis Ferran wrote: > El Mon, Jul 31, 2023 at 06:42:57PM -0400, Sean Anderson deia: >> This converts the mmc loader to spl_load. Legacy images are handled by >> spl_load (via spl_parse_image_header), so mmc_load_legacy can be >> omitted. >> > > Yes. I haven't used the lega

Re: [PATCH v5 05/11] spl: Convert mmc to spl_load

2023-08-03 Thread Xavier Drudis Ferran
El Mon, Jul 31, 2023 at 06:42:57PM -0400, Sean Anderson deia: > This converts the mmc loader to spl_load. Legacy images are handled by > spl_load (via spl_parse_image_header), so mmc_load_legacy can be > omitted. > Yes. I haven't used the legacy case, but by looking at the code, it seems to me tha

[PATCH v5 05/11] spl: Convert mmc to spl_load

2023-07-31 Thread Sean Anderson
This converts the mmc loader to spl_load. Legacy images are handled by spl_load (via spl_parse_image_header), so mmc_load_legacy can be omitted. Signed-off-by: Sean Anderson --- Changes in v5: - Rework to load header in spl_load common/spl/spl_mmc.c | 91 ---