1/*
2 * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6/* ROM function interface esp32c6.rom.spiflash.ld for esp32c6
7 *
8 *
9 * Generated from ./target/esp32c6/interface-esp32c6.yml md5sum 06c13e133e0743d09b87aba30d3e213b
10 *
11 * Compatible with ROM where ECO version equal or greater to 0.
12 *
13 * THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT.
14 */
15
16/***************************************
17 Group spi_flash_cache
18 ***************************************/
19
20/* Functions */
21spi_flash_disable_cache = 0x400001f0;
22spi_flash_restore_cache = 0x400001f4;
23spi_flash_cache_enabled = 0x400001f8;
24esp_enable_cache_flash_wrap = 0x40000200;
25
26
27/***************************************
28 Group spi_flash_mmap
29 ***************************************/
30
31/* Functions */
32spi_flash_mmap_os_func_set = 0x40000204;
33spi_flash_mmap_page_num_init = 0x40000208;
34spi_flash_mmap = 0x4000020c;
35spi_flash_mmap_pages = 0x40000210;
36spi_flash_munmap = 0x40000214;
37spi_flash_mmap_dump = 0x40000218;
38spi_flash_check_and_flush_cache = 0x4000021c;
39spi_flash_mmap_get_free_pages = 0x40000220;
40spi_flash_cache2phys = 0x40000224;
41spi_flash_phys2cache = 0x40000228;
42
43
44/***************************************
45 Group esp_flash
46 ***************************************/
47
48/* Functions */
49esp_flash_chip_driver_initialized = 0x4000022c;
50esp_flash_read_id = 0x40000230;
51esp_flash_get_size = 0x40000234;
52esp_flash_erase_chip = 0x40000238;
53esp_flash_erase_region = 0x4000023c;
54esp_flash_get_chip_write_protect = 0x40000240;
55esp_flash_set_chip_write_protect = 0x40000244;
56esp_flash_get_protectable_regions = 0x40000248;
57esp_flash_get_protected_region = 0x4000024c;
58esp_flash_set_protected_region = 0x40000250;
59esp_flash_read = 0x40000254;
60esp_flash_write = 0x40000258;
61esp_flash_write_encrypted = 0x4000025c;
62esp_flash_read_encrypted = 0x40000260;
63esp_flash_get_io_mode = 0x40000264;
64esp_flash_set_io_mode = 0x40000268;
65spi_flash_boot_attach = 0x4000026c;
66esp_flash_read_chip_id = 0x40000270;
67detect_spi_flash_chip = 0x40000274;
68/* esp_rom_spiflash_write_disable = 0x40000278; */
69esp_flash_suspend_cmd_init = 0x4000027c;
70/* Data (.data, .bss, .rodata) */
71esp_flash_default_chip = 0x4087ffe8;
72esp_flash_api_funcs = 0x4087ffe4;
73
74
75/***************************************
76 Group spi_flash_chips
77 ***************************************/
78
79/* Functions */
80spi_flash_chip_generic_probe = 0x40000280;
81spi_flash_chip_generic_detect_size = 0x40000284;
82spi_flash_chip_generic_write = 0x40000288;
83spi_flash_chip_generic_write_encrypted = 0x4000028c;
84spi_flash_chip_generic_set_write_protect = 0x40000290;
85spi_flash_common_write_status_16b_wrsr = 0x40000294;
86spi_flash_chip_generic_reset = 0x40000298;
87spi_flash_chip_generic_erase_chip = 0x4000029c;
88spi_flash_chip_generic_erase_sector = 0x400002a0;
89spi_flash_chip_generic_erase_block = 0x400002a4;
90spi_flash_chip_generic_page_program = 0x400002a8;
91spi_flash_chip_generic_get_write_protect = 0x400002ac;
92spi_flash_common_read_status_16b_rdsr_rdsr2 = 0x400002b0;
93spi_flash_chip_generic_read_reg = 0x400002b4;
94spi_flash_chip_generic_yield = 0x400002b8;
95spi_flash_generic_wait_host_idle = 0x400002bc;
96spi_flash_chip_generic_wait_idle = 0x400002c0;
97spi_flash_chip_generic_config_host_io_mode = 0x400002c4;
98spi_flash_chip_generic_read = 0x400002c8;
99spi_flash_common_read_status_8b_rdsr2 = 0x400002cc;
100spi_flash_chip_generic_get_io_mode = 0x400002d0;
101spi_flash_common_read_status_8b_rdsr = 0x400002d4;
102spi_flash_common_write_status_8b_wrsr = 0x400002d8;
103spi_flash_common_write_status_8b_wrsr2 = 0x400002dc;
104spi_flash_common_set_io_mode = 0x400002e0;
105spi_flash_chip_generic_set_io_mode = 0x400002e4;
106spi_flash_chip_generic_read_unique_id = 0x400002e8;
107spi_flash_chip_generic_get_caps = 0x400002ec;
108spi_flash_chip_generic_suspend_cmd_conf = 0x400002f0;
109spi_flash_chip_gd_get_io_mode = 0x400002f4;
110spi_flash_chip_gd_probe = 0x400002f8;
111spi_flash_chip_gd_set_io_mode = 0x400002fc;
112/* Data (.data, .bss, .rodata) */
113spi_flash_chip_generic_config_data = 0x4087ffe0;
114spi_flash_encryption = 0x4087ffdc;
115
116
117/***************************************
118 Group memspi_host
119 ***************************************/
120
121/* Functions */
122memspi_host_read_id_hs = 0x40000300;
123memspi_host_read_status_hs = 0x40000304;
124memspi_host_flush_cache = 0x40000308;
125memspi_host_erase_chip = 0x4000030c;
126memspi_host_erase_sector = 0x40000310;
127memspi_host_erase_block = 0x40000314;
128memspi_host_program_page = 0x40000318;
129memspi_host_read = 0x4000031c;
130memspi_host_set_write_protect = 0x40000320;
131memspi_host_set_max_read_len = 0x40000324;
132memspi_host_read_data_slicer = 0x40000328;
133memspi_host_write_data_slicer = 0x4000032c;
134
135
136/***************************************
137 Group hal_spiflash
138 ***************************************/
139
140/* Functions */
141spi_flash_hal_poll_cmd_done = 0x40000330;
142spi_flash_hal_device_config = 0x40000334;
143spi_flash_hal_configure_host_io_mode = 0x40000338;
144spi_flash_hal_common_command = 0x4000033c;
145spi_flash_hal_read = 0x40000340;
146spi_flash_hal_erase_chip = 0x40000344;
147spi_flash_hal_erase_sector = 0x40000348;
148spi_flash_hal_erase_block = 0x4000034c;
149spi_flash_hal_program_page = 0x40000350;
150spi_flash_hal_set_write_protect = 0x40000354;
151spi_flash_hal_host_idle = 0x40000358;
152spi_flash_hal_check_status = 0x4000035c;
153spi_flash_hal_setup_read_suspend = 0x40000360;
154spi_flash_hal_setup_auto_suspend_mode = 0x40000364;
155spi_flash_hal_setup_auto_resume_mode = 0x40000368;
156spi_flash_hal_disable_auto_suspend_mode = 0x4000036c;
157spi_flash_hal_disable_auto_resume_mode = 0x40000370;
158spi_flash_hal_resume = 0x40000374;
159spi_flash_hal_suspend = 0x40000378;
160spi_flash_encryption_hal_enable = 0x4000037c;
161spi_flash_encryption_hal_disable = 0x40000380;
162spi_flash_encryption_hal_prepare = 0x40000384;
163spi_flash_encryption_hal_done = 0x40000388;
164spi_flash_encryption_hal_destroy = 0x4000038c;
165spi_flash_encryption_hal_check = 0x40000390;
166