hardware.h 794 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * linux/include/asm-arm/arch-iop33x/hardware.h
  3. */
  4. #ifndef __ASM_ARCH_HARDWARE_H
  5. #define __ASM_ARCH_HARDWARE_H
  6. #include <asm/types.h>
  7. /*
  8. * Note about PCI IO space mappings
  9. *
  10. * To make IO space accesses efficient, we store virtual addresses in
  11. * the IO resources.
  12. *
  13. * The PCI IO space is located at virtual 0xfe000000 from physical
  14. * 0x90000000. The PCI BARs must be programmed with physical addresses,
  15. * but when we read them, we convert them to virtual addresses. See
  16. * arch/arm/mach-iop33x/pci.c
  17. */
  18. #define pcibios_assign_all_busses() 1
  19. #define PCIBIOS_MIN_IO 0x00000000
  20. #define PCIBIOS_MIN_MEM 0x00000000
  21. /*
  22. * Generic chipset bits
  23. *
  24. */
  25. #include "iop331.h"
  26. /*
  27. * Board specific bits
  28. */
  29. #include "iq80331.h"
  30. #include "iq80332.h"
  31. #endif /* _ASM_ARCH_HARDWARE_H */