fsl_secure_boot.h 637 B

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