hardware.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * include/asm-arm/arch-ixp4xx/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. #define PCIBIOS_MIN_MEM 0x48000000
  19. /*
  20. * We override the standard dma-mask routines for bouncing.
  21. */
  22. #define HAVE_ARCH_PCI_SET_DMA_MASK
  23. #define pcibios_assign_all_busses() 1
  24. #if defined(CONFIG_CPU_IXP46X) && !defined(__ASSEMBLY__)
  25. extern unsigned int processor_id;
  26. #define cpu_is_ixp465() ((processor_id & 0xffffffc0) == 0x69054200)
  27. #else
  28. #define cpu_is_ixp465() (0)
  29. #endif
  30. /* Register locations and bits */
  31. #include "ixp4xx-regs.h"
  32. /* Platform helper functions and definitions */
  33. #include "platform.h"
  34. /* Platform specific details */
  35. #include "ixdp425.h"
  36. #include "coyote.h"
  37. #include "prpmc1100.h"
  38. #include "nslu2.h"
  39. #include "nas100d.h"
  40. #endif /* _ASM_ARCH_HARDWARE_H */