On Mon, Nov 25, 2019 at 12:11 PM Simon Glass <s...@chromium.org> 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 Apollo Lake the MRC data is about 45KB, even if most of it is > zeroes. > > Fix this bug and update the parameter name to be less confusing. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > Changes in v5: None > Changes in v4: > - Add comments about MRC-cache records being the same size > - apollolake -> Apollo Lake > > Changes in v3: > - Add an extra size parameter to the find_next_mrc_cache() function > > Changes in v2: None > > arch/x86/lib/mrccache.c | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot