diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/common.h | 2 | ||||
| -rw-r--r-- | include/configs/sandbox.h | 1 | ||||
| -rw-r--r-- | include/os.h | 4 | 
3 files changed, 4 insertions, 3 deletions
| diff --git a/include/common.h b/include/common.h index 409515f49..8ca67f64f 100644 --- a/include/common.h +++ b/include/common.h @@ -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;  } diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 0884ad3a0..a4edc624b 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -75,7 +75,6 @@  #define CONFIG_SYS_LOAD_ADDR		0x00000000  #define CONFIG_SYS_MEMTEST_START	0x00100000  #define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_MEMTEST_START + 0x1000) -#define CONFIG_PHYS_64BIT  #define CONFIG_SYS_FDT_LOAD_ADDR	0x1000000  /* Size of our emulated memory */ diff --git a/include/os.h b/include/os.h index 8665f70ed..950433daa 100644 --- a/include/os.h +++ b/include/os.h @@ -11,6 +11,8 @@  #ifndef __OS_H__  #define __OS_H__ +#include <linux/types.h> +  struct sandbox_state;  /** @@ -116,7 +118,7 @@ void os_usleep(unsigned long usec);   *   * \return A monotonic increasing time scaled in nano seconds   */ -u64 os_get_nsec(void); +uint64_t os_get_nsec(void);  /**   * Parse arguments and update sandbox state. |