hardware.h 840 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * arch/arm/mach-iop32x/include/mach/hardware.h
  3. */
  4. #ifndef __HARDWARE_H
  5. #define __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/plat-iop/pci.c.
  17. */
  18. #define pcibios_assign_all_busses() 1
  19. #define PCIBIOS_MIN_IO 0x00000000
  20. #define PCIBIOS_MIN_MEM 0x00000000
  21. #ifndef __ASSEMBLY__
  22. void iop32x_init_irq(void);
  23. #endif
  24. /*
  25. * Generic chipset bits
  26. */
  27. #include "iop32x.h"
  28. /*
  29. * Board specific bits
  30. */
  31. #include "glantank.h"
  32. #include "iq80321.h"
  33. #include "iq31244.h"
  34. #include "n2100.h"
  35. #endif