esp_rom: move esp_rom_spiflash_write_disable to esp32c6.rom.ld

This commit is contained in:
jiangguangming 2022-11-02 20:05:20 +08:00
parent a8df72745b
commit 15c8f296f4
2 changed files with 3 additions and 1 deletions

View File

@ -166,6 +166,8 @@ rom_spiflash_legacy_funcs = 0x4087fff0;
rom_spiflash_legacy_data = 0x4087ffec;
g_flash_guard_ops = 0x4087fff4;
/* Note: esp_rom_spiflash_write_disable was moved from esp32c6.rom.spiflash.ld */
esp_rom_spiflash_write_disable = 0x40000278;
/***************************************
Group hal_wdt

View File

@ -66,7 +66,7 @@ esp_flash_set_io_mode = 0x40000268;
spi_flash_boot_attach = 0x4000026c;
esp_flash_read_chip_id = 0x40000270;
detect_spi_flash_chip = 0x40000274;
esp_rom_spiflash_write_disable = 0x40000278;
/* esp_rom_spiflash_write_disable = 0x40000278; */
esp_flash_suspend_cmd_init = 0x4000027c;
/* Data (.data, .bss, .rodata) */
esp_flash_default_chip = 0x4087ffe8;