| /* Copyright lowRISC contributors. */ |
| /* Licensed under the Apache License, Version 2.0, see LICENSE for details. */ |
| /* SPDX-License-Identifier: Apache-2.0 */ |
| |
| /** |
| * Linker script for OpenTitan OTTF-launched test binaries. |
| * |
| * Portions of this file are Ibex-specific. |
| * |
| * This linker script generates a binary to run rom. |
| */ |
| |
| INCLUDE hw/top_earlgrey/sw/autogen/top_earlgrey_memory.ld |
| |
| /** |
| * Symbols to be used in the setup of the address translation for the OTTF run |
| * at the Silicon Creator boot stage in slot B. |
| */ |
| _ottf_size = LENGTH(eflash) / 2; |
| _ottf_start_address = ORIGIN(eflash) + _ottf_size; |
| |
| REGION_ALIAS("ottf_flash", eflash); |
| |
| INCLUDE sw/device/lib/testing/test_framework/ottf_common.ld |