summaryrefslogtreecommitdiff
path: root/include/mailbox.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-10-01 14:42:33 -0600
committerSimon Glass <sjg@chromium.org>2016-10-11 10:17:08 -0600
commit80793db9091b40cf0078568bb5359be0e7f43e89 (patch)
treee3d10c582e74f71e42e76f65763fc9f8df975b06 /include/mailbox.h
parentbf635ed091dee333f4458eec617a4124b51322fc (diff)
sandbox: Use the address in readl/writel() functions
At present these functions do not touch addr, which can raising warnings about unused variables. This fixes the following warnings: sandbox_spl defconfig drivers/core/regmap.c: In function ‘regmap_read’: drivers/core/regmap.c:125:12: warning: unused variable ‘ptr’ [-Wunused-variable] uint32_t *ptr = map_physmem(map->base + offset, 4, MAP_NOCACHE); ^ drivers/core/regmap.c: In function ‘regmap_write’: drivers/core/regmap.c:134:12: warning: unused variable ‘ptr’ [-Wunused-variable] uint32_t *ptr = map_physmem(map->base + offset, 4, MAP_NOCACHE); Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 3bfb8cb4 (dm: regmap: Implement simple regmap_read & regmap_write)
Diffstat (limited to 'include/mailbox.h')
0 files changed, 0 insertions, 0 deletions