blob: 6a9d198cb8111ba0fd484e2f8a32a3c991d127c8 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
gaurav ranaf79323c2015-03-10 14:08:50 +05302/*
3 * Copyright 2015 Freescale Semiconductor, Inc.
Sumit Garg666bbd02017-08-16 07:13:28 -04004 * Copyright 2017 NXP
gaurav ranaf79323c2015-03-10 14:08:50 +05305 */
6
7#ifndef __FSL_SECURE_BOOT_H
8#define __FSL_SECURE_BOOT_H
9
Aneesh Bansal43104702016-01-22 16:37:24 +053010#ifdef CONFIG_CHAIN_OF_TRUST
Sumit Gargbdddd6e2016-06-14 13:52:38 -040011#ifndef CONFIG_SPL_BUILD
Sumit Garge0f9e9b2016-09-01 12:56:44 -040012#ifdef CONFIG_FSL_LS_PPA
Sumit Garge0f9e9b2016-09-01 12:56:44 -040013/* 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
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +053016 * #define PPA_KEY_HASH \
Sumit Garge0f9e9b2016-09-01 12:56:44 -040017 * "41066b564c6ffcef40ccbc1e0a5d0d519604000c785d97bbefd25e4d288d1c8b"
18 */
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +053019#define PPA_KEY_HASH NULL
Sumit Garge0f9e9b2016-09-01 12:56:44 -040020#endif /* ifdef CONFIG_FSL_LS_PPA */
21
Sumit Gargbdddd6e2016-06-14 13:52:38 -040022#endif /* #ifndef CONFIG_SPL_BUILD */
Aneesh Bansal43104702016-01-22 16:37:24 +053023#endif /* #ifdef CONFIG_CHAIN_OF_TRUST */
gaurav ranaf79323c2015-03-10 14:08:50 +053024#endif