xparameters.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * include/asm-ppc/xparameters.h
  3. *
  4. * This file includes the correct xparameters.h for the CONFIG'ed board plus
  5. * fixups to translate board specific XPAR values to a common set of names
  6. *
  7. * Author: MontaVista Software, Inc.
  8. * source@mvista.com
  9. *
  10. * 2004 (c) MontaVista Software, Inc. This file is licensed under the terms
  11. * of the GNU General Public License version 2. This program is licensed
  12. * "as is" without any warranty of any kind, whether express or implied.
  13. */
  14. #include <linux/config.h>
  15. #if defined(CONFIG_XILINX_ML300)
  16. #include "xparameters_ml300.h"
  17. #elif defined(CONFIG_XILINX_ML403)
  18. #include "xparameters_ml403.h"
  19. #else
  20. /* Add other board xparameter includes here before the #else */
  21. #error No xparameters_*.h file included
  22. #endif
  23. #ifndef SERIAL_PORT_DFNS
  24. /* zImage serial port definitions */
  25. #define RS_TABLE_SIZE 1
  26. #define SERIAL_PORT_DFNS { \
  27. .baud_base = XPAR_UARTNS550_0_CLOCK_FREQ_HZ/16, \
  28. .irq = XPAR_INTC_0_UARTNS550_0_VEC_ID, \
  29. .flags = ASYNC_BOOT_AUTOCONF, \
  30. .iomem_base = (u8 *)XPAR_UARTNS550_0_BASEADDR + 3, \
  31. .iomem_reg_shift = 2, \
  32. .io_type = SERIAL_IO_MEM, \
  33. },
  34. #endif