Files
zephyr/soc/andes/ae350/common_linker/ram_start_nonzero.ld
Jamie McCrae ef82a8255c soc: ae350: Port to HWMv2
Ports the ae350 SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-01 15:49:58 +01:00

17 lines
471 B
Plaintext

/*
* Copyright (c) 2023 Andes Technology Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Workaround for RAM_BASE is zero in XIP system, kernel object
* address maybe zero(NULL) and break some test case assertions.
* ex: tests/kernel/queue, k_queue_get() return k_queue address
* 0x0, but treat as NULL fail.
*/
SECTION_DATA_PROLOGUE(ram_start_nonzero,(NOLOAD),)
{
. = ABSOLUTE(.) ? . : . + 0x8;
} GROUP_DATA_LINK_IN(RAMABLE_REGION, RAMABLE_REGION)