kmtegr1.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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_BOARD_NAME "kmtegr1"
  22. #define CONFIG_KM_UBI_PARTITION_NAME_BOOT "ubi0"
  23. #define CONFIG_KM_UBI_PARTITION_NAME_APP "ubi1"
  24. #define CONFIG_NAND_ECC_BCH
  25. #define CONFIG_NAND_KMETER1
  26. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  27. #define NAND_MAX_CHIPS 1
  28. /* include common defines/options for all Keymile boards */
  29. #include "km/keymile-common.h"
  30. #include "km/km-powerpc.h"
  31. #include "km/km-mpc83xx.h"
  32. #include "km/km-mpc8309.h"
  33. /* must be after the include because KMBEC_FPGA is otherwise undefined */
  34. #define CONFIG_SYS_NAND_BASE CONFIG_SYS_KMBEC_FPGA_BASE /* PRIO_BASE_ADDRESS */
  35. #endif /* __CONFIG_H */