hardware.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * arch/arm/mach-ixp4xx/include/mach/hardware.h
  3. *
  4. * Copyright (C) 2002 Intel Corporation.
  5. * Copyright (C) 2003-2004 MontaVista Software, Inc.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. *
  11. */
  12. /*
  13. * Hardware definitions for IXP4xx based systems
  14. */
  15. #ifndef __ASM_ARCH_HARDWARE_H__
  16. #define __ASM_ARCH_HARDWARE_H__
  17. #define PCIBIOS_MIN_IO 0x00001000
  18. #ifdef CONFIG_IXP4XX_INDIRECT_PCI
  19. #define PCIBIOS_MIN_MEM 0x10000000 /* 1 GB of indirect PCI MMIO space */
  20. #define PCIBIOS_MAX_MEM 0x4FFFFFFF
  21. #else
  22. #define PCIBIOS_MIN_MEM 0x48000000 /* 64 MB of PCI MMIO space */
  23. #define PCIBIOS_MAX_MEM 0x4BFFFFFF
  24. #endif
  25. /*
  26. * We override the standard dma-mask routines for bouncing.
  27. */
  28. #define HAVE_ARCH_PCI_SET_DMA_MASK
  29. #define pcibios_assign_all_busses() 1
  30. /* Register locations and bits */
  31. #include "ixp4xx-regs.h"
  32. #ifndef __ASSEMBLER__
  33. #include <mach/cpu.h>
  34. #endif
  35. /* Platform helper functions and definitions */
  36. #include "platform.h"
  37. #endif /* _ASM_ARCH_HARDWARE_H */