kmtegr1.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2006 Freescale Semiconductor, Inc.
  4. * Dave Liu <daveliu@freescale.com>
  5. *
  6. * Copyright (C) 2007 Logic Product Development, Inc.
  7. * Peter Barada <peterb@logicpd.com>
  8. *
  9. * Copyright (C) 2007 MontaVista Software, Inc.
  10. * Anton Vorontsov <avorontsov@ru.mvista.com>
  11. *
  12. * (C) Copyright 2010
  13. * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  14. */
  15. #ifndef __CONFIG_H
  16. #define __CONFIG_H
  17. /*
  18. * High Level Configuration Options
  19. */
  20. #define CONFIG_HOSTNAME "kmtegr1"
  21. #define CONFIG_KM_UBI_PARTITION_NAME_BOOT "ubi0"
  22. #define CONFIG_KM_UBI_PARTITION_NAME_APP "ubi1"
  23. #define CONFIG_NAND_ECC_BCH
  24. #define CONFIG_NAND_KMETER1
  25. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  26. #define NAND_MAX_CHIPS 1
  27. #define CONFIG_SYS_SICRL (0 \
  28. | SICR_1_UART1_UART1RTS \
  29. | SICR_1_I2C_CKSTOP \
  30. | SICR_1_IRQ_A_IRQ \
  31. | SICR_1_IRQ_B_IRQ \
  32. | SICR_1_GPIO_A_GPIO \
  33. | SICR_1_GPIO_B_GPIO \
  34. | SICR_1_GPIO_C_GPIO \
  35. | SICR_1_GPIO_D_GPIO \
  36. | SICR_1_GPIO_E_LCS \
  37. | SICR_1_GPIO_F_GPIO \
  38. | SICR_1_USB_A_UART2S \
  39. | SICR_1_USB_B_UART2RTS \
  40. | SICR_1_FEC1_FEC1 \
  41. | SICR_1_FEC2_FEC2 \
  42. )
  43. /* include common defines/options for all Keymile boards */
  44. #include "km/keymile-common.h"
  45. #include "km/km-powerpc.h"
  46. #include "km/km-mpc83xx.h"
  47. #include "km/km-mpc8309.h"
  48. /* must be after the include because KMBEC_FPGA is otherwise undefined */
  49. #define CONFIG_SYS_NAND_BASE CONFIG_SYS_KMBEC_FPGA_BASE /* PRIO_BASE_ADDRESS */
  50. #endif /* __CONFIG_H */