blob: a7fadf6a710465db88293f7540650fa1c73ba569 [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
Max Shvetsov06dba292019-12-06 11:50:12 +000017 .section .rodata.arm_rotpk_hash, "a"
18
19arm_rotpk_header:
20 .byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48
21 .byte 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20
22arm_rotpk_header_len:
23
24#ifdef ARM_ROTPK_HASH
25 .global arm_rotpk_hash_end
26 .incbin ARM_ROTPK_HASH
27arm_rotpk_hash_end:
28#endif
29
30.if ARM_ROTPK_HEADER_LEN != arm_rotpk_header_len - arm_rotpk_header
31.error "Invalid ROTPK header length."
32.endif