blkcache: Extend blkcache_init to cover CONFIG_NEEDS_MANUAL_RELOC
Extend manual relocation of block_cache list pointers to all platforms that enable CONFIG_NEEDS_MANUAL_RELOC. Remove m68k-specific checks and provide a single implementation that adds gd->reloc_off to the pre-relocation pointers. Acked-by: NAngelo Dureghello <angelo.dureghello@timesys.com> Tested-by: NAngelo Dureghello <angelo.dureghello@timesys.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NEric Nelson <eric@nelint.com> Signed-off-by: NOvidiu Panait <ovidiu.panait@windriver.com> [trini: Add guard around DECLARE_GLOBAL_DATA_PTR to avoid size growth] Signed-off-by: NTom Rini <trini@konsulko.com>
Showing
想要评论请 注册 或 登录