blob: 06e2a069a98ab789ff8de4ffe015f613a7898332 [file] [log] [blame]
Max Shvetsov06dba292019-12-06 11:50:12 +00001/*
Vishnu Banavath2b651ea2022-01-19 18:43:12 +00002 * Copyright (c) 2021-2022, ARM Limited. All rights reserved.
Max Shvetsov06dba292019-12-06 11:50:12 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Vishnu Banavath2b651ea2022-01-19 18:43:12 +00007/* corstone1000 platform provides custom values for the macros defined in
Abdellatif El Khlifiad9b8e52021-04-21 17:20:43 +01008 * arm_def.h , so only platform_def.h needs to be included
9 */
10#if !defined(TARGET_PLATFORM_FVP) && !defined(TARGET_PLATFORM_FPGA)
Max Shvetsov06dba292019-12-06 11:50:12 +000011#include "plat/arm/common/arm_def.h"
Abdellatif El Khlifiad9b8e52021-04-21 17:20:43 +010012#else
13#include <platform_def.h>
14#endif
Max Shvetsov06dba292019-12-06 11:50:12 +000015
16 .global arm_rotpk_header
17 .global arm_rotpk_header_end
18 .section .rodata.arm_rotpk_hash, "a"
19
20arm_rotpk_header:
21 .byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48
22 .byte 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20
23arm_rotpk_header_len:
24
25#ifdef ARM_ROTPK_HASH
26 .global arm_rotpk_hash_end
27 .incbin ARM_ROTPK_HASH
28arm_rotpk_hash_end:
29#endif
30
31.if ARM_ROTPK_HEADER_LEN != arm_rotpk_header_len - arm_rotpk_header
32.error "Invalid ROTPK header length."
33.endif