colibri_imx6.cfg 762 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013 Boundary Devices
  4. * Copyright (C) 2014 Toradex AG
  5. *
  6. * Refer doc/README.imximage for more details about how-to configure
  7. * and create imximage boot image
  8. *
  9. * The syntax is taken as close as possible with the kwbimage
  10. */
  11. /* image version */
  12. IMAGE_VERSION 2
  13. /*
  14. * Boot Device : one of
  15. * spi, sd (the board has no nand neither onenand)
  16. */
  17. BOOT_FROM sd
  18. #define __ASSEMBLY__
  19. #include <config.h>
  20. #include "asm/arch/mx6-ddr.h"
  21. #include "asm/arch/iomux.h"
  22. #include "asm/arch/crm_regs.h"
  23. #include "ddr-setup.cfg"
  24. #if CONFIG_DDR_MB == 256
  25. #include "800mhz_2x64mx16.cfg"
  26. #elif CONFIG_DDR_MB == 512
  27. #include "800mhz_4x64mx16.cfg"
  28. #else
  29. #error "unknown DDR size"
  30. #endif
  31. #include "clocks.cfg"