hardware.h 1021 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #define pcibios_assign_all_busses() 1
  26. /* Register locations and bits */
  27. #include "ixp4xx-regs.h"
  28. #ifndef __ASSEMBLER__
  29. #include <mach/cpu.h>
  30. #endif
  31. /* Platform helper functions and definitions */
  32. #include "platform.h"
  33. #endif /* _ASM_ARCH_HARDWARE_H */