u-boot/arch/sandbox/include/asm
Simon Glass 80793db909 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)
2016-10-11 10:17:08 -06:00
..
bitops.h sandbox: Use the generic bitops headers 2015-11-05 10:52:14 -05:00
byteorder.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
cache.h sandbox: Enable many more commands 2016-04-15 08:14:37 -06:00
clk.h clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
config.h sandbox: Set up global data before board_init_f() 2014-07-23 14:05:39 +01:00
eth-raw-os.h sandbox: eth: Add support for using the 'lo' interface 2015-04-18 11:11:14 -06:00
eth.h sandbox: eth: Add a function to skip ping timeouts 2015-05-05 20:58:18 -06:00
getopt.h sandbox: Rename sb_cmdline_option to sandbox_cmdline_option 2013-12-09 12:22:02 -07:00
global_data.h sandbox: Allow reading/writing of RAM buffer 2014-01-08 17:25:03 -07:00
gpio.h sandbox: gpio: doc: Fix parameter documentation 2016-06-19 17:05:55 -06:00
io.h sandbox: Use the address in readl/writel() functions 2016-10-11 10:17:08 -06:00
mbox.h mailbox: implement a sandbox test 2016-05-26 20:48:31 -06:00
posix_types.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
power-domain.h Add a power domain framework/uclass 2016-07-27 16:29:56 -06:00
processor.h dm: sandbox: pci: Add PCI support for sandbox 2015-04-16 19:27:43 -06:00
ptrace.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
reset.h reset: implement a reset test 2016-06-19 17:05:55 -06:00
rtc.h dm: rtc: sandbox: Add an emulated I2C RTC device 2015-05-05 20:58:39 -06:00
sdl.h sandbox: Add SDL library for LCD, keyboard, audio 2014-03-17 20:05:48 -06:00
sections.h sandbox: Rename sb_cmdline_option to sandbox_cmdline_option 2013-12-09 12:22:02 -07:00
sound.h build: define CPU only when arch/${ARCH}/cpu/${CPU} exists 2014-07-07 19:42:34 -04:00
spi.h dm: sf: sandbox: Convert SPI flash driver to driver model 2014-10-22 10:36:51 -06:00
spl.h spl: Move spl_board_load_image() into a generic header 2016-10-06 14:48:14 -04:00
state.h Rename reset to sysreset 2016-05-26 20:48:31 -06:00
string.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
system.h sandbox: change local_irq_save() to macro 2014-06-23 15:37:24 -06:00
test.h clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
types.h Provide option to avoid defining a custom version of uintptr_t. 2014-10-27 11:04:01 -04:00
u-boot-sandbox.h sandbox: Use the reset driver to handle reset 2015-07-21 17:39:31 -06:00
u-boot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
unaligned.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00