1/* 2 * Copyright (c) 2024 Renesas Electronics Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7.code_in_ram : 8{ 9 . = ALIGN(4); 10 __Code_In_RAM_Start = .; 11 KEEP(*(.code_in_ram*)) 12 __Code_In_RAM_End = .; 13} > RAMABLE_REGION 14 15SECTION_DATA_PROLOGUE(.fsp_dtc_vector_table,(NOLOAD),) 16{ 17 /* If DTC is used, put the DTC vector table at the start of SRAM. 18 This avoids memory holes due to 1K alignment required by it. */ 19 *(.fsp_dtc_vector_table) 20} GROUP_DATA_LINK_IN(RAMABLE_REGION, RAMABLE_REGION) 21 22SECTION_PROLOGUE(.option_setting_ofs,,) 23{ 24 __OPTION_SETTING_OFS_Start = .; 25 KEEP(*(.option_setting_ofs0)) 26 . = __OPTION_SETTING_OFS_Start + 0x04; 27 KEEP(*(.option_setting_ofs2)) 28 . = __OPTION_SETTING_OFS_Start + 0x10; 29 KEEP(*(.option_setting_dualsel)) 30 __OPTION_SETTING_OFS_End = .; 31} GROUP_LINK_IN(OPTION_SETTING_OFS) = 0xFF 32 33SECTION_PROLOGUE(.option_setting_sas,,) 34{ 35 __OPTION_SETTING_SAS_Start = .; 36 KEEP(*(.option_setting_sas)) 37 __OPTION_SETTING_SAS_End = .; 38} GROUP_LINK_IN(OPTION_SETTING_SAS) = 0xFF 39 40SECTION_PROLOGUE(.option_setting_s,,) 41{ 42 __OPTION_SETTING_S_Start = .; 43 KEEP(*(.option_setting_ofs1_sec)) 44 . = __OPTION_SETTING_S_Start + 0x04; 45 KEEP(*(.option_setting_ofs3_sec)) 46 . = __OPTION_SETTING_S_Start + 0x10; 47 KEEP(*(.option_setting_banksel_sec)) 48 . = __OPTION_SETTING_S_Start + 0x40; 49 KEEP(*(.option_setting_bps_sec0)) 50 . = __OPTION_SETTING_S_Start + 0x44; 51 KEEP(*(.option_setting_bps_sec1)) 52 . = __OPTION_SETTING_S_Start + 0x48; 53 KEEP(*(.option_setting_bps_sec2)) 54 . = __OPTION_SETTING_S_Start + 0x4C; 55 KEEP(*(.option_setting_bps_sec3)) 56 . = __OPTION_SETTING_S_Start + 0x60; 57 KEEP(*(.option_setting_pbps_sec0)) 58 . = __OPTION_SETTING_S_Start + 0x64; 59 KEEP(*(.option_setting_pbps_sec1)) 60 . = __OPTION_SETTING_S_Start + 0x68; 61 KEEP(*(.option_setting_pbps_sec2)) 62 . = __OPTION_SETTING_S_Start + 0x6C; 63 KEEP(*(.option_setting_pbps_sec3)) 64 . = __OPTION_SETTING_S_Start + 0x80; 65 KEEP(*(.option_setting_ofs1_sel)) 66 . = __OPTION_SETTING_S_Start + 0x84; 67 KEEP(*(.option_setting_ofs3_sel)) 68 . = __OPTION_SETTING_S_Start + 0x90; 69 KEEP(*(.option_setting_banksel_sel)) 70 . = __OPTION_SETTING_S_Start + 0xC0; 71 KEEP(*(.option_setting_bps_sel0)) 72 . = __OPTION_SETTING_S_Start + 0xC4; 73 KEEP(*(.option_setting_bps_sel1)) 74 . = __OPTION_SETTING_S_Start + 0xC8; 75 KEEP(*(.option_setting_bps_sel2)) 76 . = __OPTION_SETTING_S_Start + 0xCC; 77 KEEP(*(.option_setting_bps_sel3)) 78 __OPTION_SETTING_S_End = .; 79} GROUP_LINK_IN(OPTION_SETTING_S) = 0xFF 80