1 #ifndef BCM63XX_IOREMAP_H_
2 #define BCM63XX_IOREMAP_H_
4 #include <bcm63xx_cpu.h>
6 static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size)
11 static inline int is_bcm63xx_internal_registers(phys_t offset)
13 switch (bcm63xx_get_cpu_id()) {
18 if (offset >= 0xfff00000)
25 static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size,
28 if (is_bcm63xx_internal_registers(offset))
29 return (void __iomem *)offset;
33 static inline int plat_iounmap(const volatile void __iomem *addr)
35 return is_bcm63xx_internal_registers((unsigned long)addr);
38 #endif /* BCM63XX_IOREMAP_H_ */