Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Eric Nelson | d67b0d9 | 2013-03-11 08:44:53 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013 Boundary Devices |
| 4 | * |
Patrick Delaunay | b09e28f | 2020-02-28 15:18:12 +0100 | [diff] [blame] | 5 | * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure |
Eric Nelson | d67b0d9 | 2013-03-11 08:44:53 +0000 | [diff] [blame] | 6 | * and create imximage boot image |
| 7 | * |
| 8 | * The syntax is taken as close as possible with the kwbimage |
| 9 | */ |
| 10 | |
| 11 | /* image version */ |
| 12 | IMAGE_VERSION 2 |
| 13 | |
| 14 | /* |
| 15 | * Boot Device : one of |
| 16 | * spi, sd (the board has no nand neither onenand) |
| 17 | */ |
Eric Nelson | 9b986fd | 2014-02-10 10:22:41 -0700 | [diff] [blame] | 18 | BOOT_FROM spi |
Eric Nelson | d67b0d9 | 2013-03-11 08:44:53 +0000 | [diff] [blame] | 19 | |
Eric Nelson | d67b0d9 | 2013-03-11 08:44:53 +0000 | [diff] [blame] | 20 | #include <config.h> |
Stefano Babic | d714a75 | 2019-09-20 08:47:53 +0200 | [diff] [blame] | 21 | #ifdef CONFIG_IMX_HAB |
Gary Bisson | 940afa4 | 2016-08-25 19:03:20 +0200 | [diff] [blame] | 22 | CSF CONFIG_CSF_SIZE |
| 23 | #endif |
Eric Nelson | d67b0d9 | 2013-03-11 08:44:53 +0000 | [diff] [blame] | 24 | #include "asm/arch/mx6-ddr.h" |
| 25 | #include "asm/arch/iomux.h" |
| 26 | #include "asm/arch/crm_regs.h" |
| 27 | |
| 28 | #include "ddr-setup.cfg" |
| 29 | #include "800mhz_4x128mx16.cfg" |
| 30 | #include "clocks.cfg" |