On Fri, 17 May 2019 09:47:42 -0700, Stephen Boyd wrote: > We have a few drivers that need to get a reserved memory region, request > the region, and map the reserved memory with memremap(). Add an API to > do this all in one function call. > > Cc: Evan Green <[email protected]> > Cc: Rob Herring <[email protected]> > Cc: Bjorn Andersson <[email protected]> > Cc: Andy Gross <[email protected]> > Cc: Will Deacon <[email protected]> > Cc: Catalin Marinas <[email protected]> > Cc: Dan Williams <[email protected]> > Signed-off-by: Stephen Boyd <[email protected]> > --- > drivers/of/of_reserved_mem.c | 45 +++++++++++++++++++++++++++++++++ > include/linux/of_reserved_mem.h | 6 +++++ > 2 files changed, 51 insertions(+) >
Reviewed-by: Rob Herring <[email protected]>

