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