diff options
Diffstat (limited to 'include/addr_map.h')
-rw-r--r-- | include/addr_map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/addr_map.h b/include/addr_map.h index 55d3a6a165..db3712b5d3 100644 --- a/include/addr_map.h +++ b/include/addr_map.h @@ -14,7 +14,9 @@ struct addrmap { unsigned long vaddr; }; +#ifdef CONFIG_ADDR_MAP extern struct addrmap address_map[CONFIG_SYS_NUM_ADDR_MAP]; +#endif phys_addr_t addrmap_virt_to_phys(void *vaddr); void *addrmap_phys_to_virt(phys_addr_t paddr); |