1/* 2 * Copyright (c) 2021, ARM Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7/* diphda 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 .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 34