Max Shvetsov | 06dba29 | 2019-12-06 11:50:12 +0000 | [diff] [blame] | 1 | /* |
Rohit Mathew | 96ee83a | 2023-12-26 22:33:03 +0000 | [diff] [blame] | 2 | * Copyright (c) 2021-2024, ARM Limited. All rights reserved. |
Max Shvetsov | 06dba29 | 2019-12-06 11:50:12 +0000 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Rohit Mathew | 96ee83a | 2023-12-26 22:33:03 +0000 | [diff] [blame] | 7 | #include <plat/arm/board/common/rotpk/rotpk_def.h> |
Max Shvetsov | 06dba29 | 2019-12-06 11:50:12 +0000 | [diff] [blame] | 8 | |
| 9 | .global arm_rotpk_header |
Max Shvetsov | 06dba29 | 2019-12-06 11:50:12 +0000 | [diff] [blame] | 10 | .section .rodata.arm_rotpk_hash, "a" |
| 11 | |
| 12 | arm_rotpk_header: |
| 13 | .byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48 |
| 14 | .byte 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20 |
| 15 | arm_rotpk_header_len: |
| 16 | |
| 17 | #ifdef ARM_ROTPK_HASH |
| 18 | .global arm_rotpk_hash_end |
| 19 | .incbin ARM_ROTPK_HASH |
| 20 | arm_rotpk_hash_end: |
| 21 | #endif |
| 22 | |
| 23 | .if ARM_ROTPK_HEADER_LEN != arm_rotpk_header_len - arm_rotpk_header |
| 24 | .error "Invalid ROTPK header length." |
| 25 | .endif |