memblock: Add memblock_overlaps_memory()
Add a new function, memblock_overlaps_memory(), to check if a region overlaps with a memory bank. This will be used by peripheral loader code to detect when kernel memory would be overwritten. Change-Id: I851f8f416a0f36e85c0e19536b5209f7d4bd431c Signed-off-by:Patrick Daly <pdaly@codeaurora.org> memblock: Fix memblock_overlaps_memory() This function always returns true, because it calls memblock_overlaps_region() which returns a bool now. Change the signature to bool and pass it on up instead. Change-Id: I4b6403b823d20552a28006e35083d8056346dc51 Cc: Patrick Daly <pdaly@codeaurora.org> Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org>
Loading
Please register or sign in to comment