change(bootloader): optimize bootloader size

Trim bootloader size by moving some logs to DEBUG. Allows
compiling bootloader on P4 with CONFIG_ESPTOOLPY_FLASHMODE_QIO
without changing partition table offset
This commit is contained in:
Marius Vikhammer
2026-08-20 14:54:45 +08:00
parent f90cd7dd78
commit 66f79e57f8
6 changed files with 11 additions and 18 deletions
@@ -265,7 +265,6 @@ bool bootloader_utility_load_partition_table(bootloader_state_t *bs)
bootloader_munmap(partitions);
ESP_LOGI(TAG, "End of partition table");
return true;
}
@@ -785,7 +784,7 @@ static void load_image(const esp_image_metadata_t *image_data)
}
#endif
ESP_LOGI(TAG, "Disabling RNG early entropy source...");
ESP_LOGD(TAG, "Disabling RNG early entropy source...");
bootloader_random_disable();
/* Disable glitch reset after all the security checks are completed.