| /* SPDX-License-Identifier: GPL-2.0+ */ |
| * Based on arch/riscv/cpu/u-boot.lds, which is |
| * Copyright (C) 2017 Andes Technology Corporation |
| * Rick Chen, Andes Technology Corporation <rick@andestech.com> |
| * and arch/mips/cpu/u-boot-spl.lds. |
| MEMORY { .spl_mem : ORIGIN = IMAGE_TEXT_BASE, LENGTH = IMAGE_MAX_SIZE } |
| MEMORY { .bss_mem : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \ |
| LENGTH = CONFIG_SPL_BSS_MAX_SIZE } |
| arch/riscv/cpu/start.o (.text) |
| *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
| KEEP(*(SORT(__u_boot_list*))); |
| KEEP(*(SORT(.binman_sym*))); |