[PATCH v6 029/102] x86: Correct mrccache find_next_mrc_cache() calculation

2019-12-06 Thread Simon Glass
This should take account of the end of the new cache record since a record cannot extend beyond the end of the flash region. This problem was not seen before due to the alignment of the relatively small amount of MRC data. But with Apollo Lake the MRC data is about 45KB, even if most of it is zero

Re: [PATCH v6 029/102] x86: Correct mrccache find_next_mrc_cache() calculation

2019-12-07 Thread Bin Meng
On Sat, Dec 7, 2019 at 12:47 PM Simon Glass wrote: > > This should take account of the end of the new cache record since a record > cannot extend beyond the end of the flash region. This problem was not > seen before due to the alignment of the relatively small amount of MRC > data. > > But with A