1/* 2 * Copyright (c) 2021-2022, ARM Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7/* corstone1000 platform provides custom values for the macros defined in 8 * arm_def.h , so only platform_def.h needs to be included 9 */ 10#if !defined(TARGET_PLATFORM_FVP) && !defined(TARGET_PLATFORM_FPGA) 11#include "plat/arm/common/arm_def.h" 12#else 13#include <platform_def.h> 14#endif 15 16 .global arm_rotpk_header 17 .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 33