path: root/drivers/mailbox/rockchip-mailbox.c
diff options
authorSudeep Holla <sudeep.holla@arm.com>2016-11-29 14:37:05 +0000
committerJassi Brar <jaswinder.singh@linaro.org>2016-12-19 20:10:23 +0530
commitdb4d22c07e3e652eeec82abcc1399e6305edd838 (patch)
treeeecf14f74e78d61c80e844cb439892203f748ae2 /drivers/mailbox/rockchip-mailbox.c
parentbaef9a35d24626ebdc5a9074455e63eea6c7f6af (diff)
mailbox: mailbox-test: allow reserved areas in SRAM
When CONFIG_SRAM is enable and the SRAM region is found, the entire SRAM region resource is requested and marked as occupied by SRAM driver even if certain parts of regions is marked reserved. It's quite possible that a small region of the SRAM is reserved for all the mailbox communication and hence it may fail to request the region as it's already marked busy region. This patch tries to just do a ioremap of this mailbox memory region if it finds it busy. Cc: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/rockchip-mailbox.c')
0 files changed, 0 insertions, 0 deletions

Privacy Policy