diff options
Diffstat (limited to 'arch/mips/alchemy/common/setup.c')
-rw-r--r-- | arch/mips/alchemy/common/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/alchemy/common/setup.c b/arch/mips/alchemy/common/setup.c index ea8f41869e56..4e72daf12c32 100644 --- a/arch/mips/alchemy/common/setup.c +++ b/arch/mips/alchemy/common/setup.c | |||
@@ -70,9 +70,9 @@ void __init plat_mem_setup(void) | |||
70 | iomem_resource.end = IOMEM_RESOURCE_END; | 70 | iomem_resource.end = IOMEM_RESOURCE_END; |
71 | } | 71 | } |
72 | 72 | ||
73 | #if defined(CONFIG_64BIT_PHYS_ADDR) && defined(CONFIG_PCI) | 73 | #if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_PCI) |
74 | /* This routine should be valid for all Au1x based boards */ | 74 | /* This routine should be valid for all Au1x based boards */ |
75 | phys_t __fixup_bigphys_addr(phys_t phys_addr, phys_t size) | 75 | phys_addr_t __fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size) |
76 | { | 76 | { |
77 | unsigned long start = ALCHEMY_PCI_MEMWIN_START; | 77 | unsigned long start = ALCHEMY_PCI_MEMWIN_START; |
78 | unsigned long end = ALCHEMY_PCI_MEMWIN_END; | 78 | unsigned long end = ALCHEMY_PCI_MEMWIN_END; |
@@ -83,7 +83,7 @@ phys_t __fixup_bigphys_addr(phys_t phys_addr, phys_t size) | |||
83 | 83 | ||
84 | /* Check for PCI memory window */ | 84 | /* Check for PCI memory window */ |
85 | if (phys_addr >= start && (phys_addr + size - 1) <= end) | 85 | if (phys_addr >= start && (phys_addr + size - 1) <= end) |
86 | return (phys_t)(AU1500_PCI_MEM_PHYS_ADDR + phys_addr); | 86 | return (phys_addr_t)(AU1500_PCI_MEM_PHYS_ADDR + phys_addr); |
87 | 87 | ||
88 | /* default nop */ | 88 | /* default nop */ |
89 | return phys_addr; | 89 | return phys_addr; |