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 > Cc: Alexey Brodkin > Cc: Angelo Dureghello > Cc: Daniel Schwierzeck > Cc: Eugeniy Paltsev > Cc: Hai Pham > Cc: Michal Simek > Cc: Simon Goldschmidt > Cc: Tom Rini > Cc: Wolfgang Denk > Reviewed-by: Tom Rini Applied to u-boot/next, thanks! -- Tom