Prepare v2023.10
[platform/kernel/u-boot.git] / arch / arm / include / asm / fsl_secure_boot.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2015 Freescale Semiconductor, Inc.
4  * Copyright 2017 NXP
5  */
6
7 #ifndef __FSL_SECURE_BOOT_H
8 #define __FSL_SECURE_BOOT_H
9
10 #ifdef CONFIG_CHAIN_OF_TRUST
11 #ifndef CONFIG_SPL_BUILD
12 #ifdef CONFIG_FSL_LS_PPA
13 /* Define the key hash here if SRK used for signing PPA image is
14  * different from SRK hash put in SFP used for U-Boot.
15  * Example
16  * #define PPA_KEY_HASH \
17  *      "41066b564c6ffcef40ccbc1e0a5d0d519604000c785d97bbefd25e4d288d1c8b"
18  */
19 #define PPA_KEY_HASH            NULL
20 #endif /* ifdef CONFIG_FSL_LS_PPA */
21
22 #endif /* #ifndef CONFIG_SPL_BUILD */
23 #endif /* #ifdef CONFIG_CHAIN_OF_TRUST */
24 #endif