Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Eddy Petrișor | 5178dc1 | 2016-06-05 03:43:00 +0300 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2013-2015, Freescale Semiconductor, Inc. |
Eddy Petrișor | 5178dc1 | 2016-06-05 03:43:00 +0300 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /* |
Patrick Delaunay | 488b6ac | 2020-02-28 15:18:12 +0100 | [diff] [blame^] | 7 | * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure |
Eddy Petrișor | 5178dc1 | 2016-06-05 03:43:00 +0300 | [diff] [blame] | 8 | * and create imximage boot image |
| 9 | * |
| 10 | * The syntax is taken as close as possible with the kwbimage |
| 11 | */ |
Stefano Babic | 33731bc | 2017-06-29 10:16:06 +0200 | [diff] [blame] | 12 | #include <asm/mach-imx/imximage.cfg> |
Eddy Petrișor | 5178dc1 | 2016-06-05 03:43:00 +0300 | [diff] [blame] | 13 | |
| 14 | /* image version */ |
| 15 | IMAGE_VERSION 2 |
| 16 | BOOT_FROM sd |
| 17 | |
| 18 | |
| 19 | /* |
| 20 | * Boot Device : one of qspi, sd: |
| 21 | * qspi: flash_offset: 0x1000 |
| 22 | * sd/mmc: flash_offset: 0x1000 |
| 23 | */ |
| 24 | |
| 25 | |
| 26 | #ifdef CONFIG_SECURE_BOOT |
| 27 | SECURE_BOOT |
| 28 | #endif |