[PATCH v1] x86: tangier: Find proper memory region for relocation
Bin Meng
bmeng.cn at gmail.com
Wed Dec 16 06:52:24 CET 2020
On Wed, Dec 16, 2020 at 11:32 AM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Fri, Nov 27, 2020 at 8:40 PM Andy Shevchenko
> <andriy.shevchenko at linux.intel.com> wrote:
> >
> > It appears that U-Boot works by luck on Intel Edison board because the amount
> > of RAM is less than 1 GB and standard way of calculating the top of it work
> > for this configuration. However, this won't work if the amount of RAM is
> > different and split differently in address space. We have to fine the suitable
>
> fine -> find
>
> I can fix this when applying
Fixed this, and
>
> > window correctly.
> >
> > Find proper memory region for relocation by scanning MMAP SFI table in
> > board_get_usable_ram_top() callback.
> >
> > According to the address map documentation the Main Memory is guaranteed to lie
> > in the 0..2 GB range, that's why we limit search by this range.
> >
> > Fixes: e71de54a4943 ("x86: Add Intel Tangier support")
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> > ---
> > arch/x86/cpu/tangier/sdram.c | 43 ++++++++++++++++++++++++++++++++++++
> > 1 file changed, 43 insertions(+)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list