On Fri, Sep 10, 2021 at 10:47:09PM +0200, Marek Vasut wrote: > The arc/arm/m68k/microblaze/mips/ppc arch_lmb_reserve() implementations > are all mostly the same, except for a couple of details. Implement a > generic arch_lmb_reserve_generic() function which can be parametrized > enough to cater for those differences between architectures. This can > also be parametrized enough so it can handle cases where U-Boot is not > relocated to the end of DRAM e.g. because there is some other reserved > memory past U-Boot (e.g. unmovable firmware for coprocessor), it is not > relocated at all, and other such use cases. > > Signed-off-by: Marek Vasut <marek.vasut+rene...@gmail.com> > Cc: Alexey Brodkin <alexey.brod...@synopsys.com> > Cc: Angelo Dureghello <ang...@sysam.it> > Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com> > Cc: Eugeniy Paltsev <eugeniy.palt...@synopsys.com> > Cc: Hai Pham <hai.pham...@renesas.com> > Cc: Michal Simek <mon...@monstr.eu> > Cc: Simon Goldschmidt <simon.k.r.goldschm...@gmail.com> > Cc: Tom Rini <tr...@konsulko.com> > Cc: Wolfgang Denk <w...@denx.de> > Reviewed-by: Tom Rini <tr...@konsulko.com>
Applied to u-boot/next, thanks! -- Tom
signature.asc
Description: PGP signature