Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

io.h

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Simon Glass's avatar
      80793db9
      sandbox: Use the address in readl/writel() functions · 80793db9
      Simon Glass authored
      
      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: default avatarSimon Glass <sjg@chromium.org>
      Fixes: 3bfb8cb4 (dm: regmap: Implement simple regmap_read & regmap_write)
      80793db9
      History
      sandbox: Use the address in readl/writel() functions
      Simon Glass authored
      
      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: default avatarSimon Glass <sjg@chromium.org>
      Fixes: 3bfb8cb4 (dm: regmap: Implement simple regmap_read & regmap_write)