[PATCH v2 07/28] ARM: iop13xx: move io.h externs to io.c

Arnd Bergmann arnd at arndb.de
Wed Feb 29 17:26:26 EST 2012


On Wednesday 29 February 2012, Rob Herring wrote:
> Look at the ULL defines:
> 
> #define IOP13XX_PCIX_MEM_PHYS_OFFSET  0x100000000ULL
> #define IOP13XX_PCIX_MEM_WINDOW_SIZE  0x3a000000UL
> #define IOP13XX_PCIX_LOWER_MEM_BA     (PHYS_OFFSET + IOP13XX_PCI_OFFSET)
> #define IOP13XX_PCIX_LOWER_MEM_PA     (IOP13XX_PCIX_MEM_PHYS_OFFSET +\
>                                        IOP13XX_PCIX_LOWER_MEM_BA)
> 
> There's also this discussion (search the page for iop13xx):
> http://comments.gmane.org/gmane.linux.ports.arm.kernel/30905

Ok, got it. In that case I don't see a better alternative to your
patch anyway, especially since IOP13xx apparently predates
CONFIG_ARCH_PHYS_ADDR_T_64BIT and implemented the ioremap hack
in order to get around the same limitation. Changing this now for
a legacy platform is something I wouldn't want to try.

Thanks,

	Arnd



More information about the linux-arm-kernel mailing list