Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/ed072b96efd7a5de51cef01c3d4bed4db0e391f0 You should set ROOT_URL correctly, otherwise the web may not work correctly.

sandbox: Make map_to_sysmem() use a constant pointer

Very often a constant pointer is passed to this function, so we should
declare this, since map_to_sysmem() does not change the pointer.

Signed-off-by: Simon Glass <sjg@chromium.org>
master
Simon Glass 12 years ago
parent 370b6c5c4d
commit ed072b96ef
  1. 2
      arch/sandbox/include/asm/io.h
  2. 2
      include/common.h

@ -38,6 +38,6 @@ static inline void unmap_sysmem(const void *vaddr)
}
/* Map from a pointer to our RAM buffer */
phys_addr_t map_to_sysmem(void *ptr);
phys_addr_t map_to_sysmem(const void *ptr);
#endif

@ -923,7 +923,7 @@ static inline void unmap_sysmem(const void *vaddr)
{
}
static inline phys_addr_t map_to_sysmem(void *ptr)
static inline phys_addr_t map_to_sysmem(const void *ptr)
{
return (phys_addr_t)(uintptr_t)ptr;
}

Loading…
Cancel
Save