boot: main: avoid unused build warning
In case ESP32 SoC is used, *start will get
build warning as it is not used.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
(cherry picked from commit 334d2c28f6
)
This commit is contained in:
parent
587289d650
commit
1cd53982e1
|
@ -277,7 +277,9 @@ done:
|
||||||
*/
|
*/
|
||||||
static void do_boot(struct boot_rsp *rsp)
|
static void do_boot(struct boot_rsp *rsp)
|
||||||
{
|
{
|
||||||
|
#ifndef CONFIG_SOC_FAMILY_ESPRESSIF_ESP32
|
||||||
void *start;
|
void *start;
|
||||||
|
#endif /* CONFIG_SOC_FAMILY_ESPRESSIF_ESP32 */
|
||||||
|
|
||||||
BOOT_LOG_INF("br_image_off = 0x%x\n", rsp->br_image_off);
|
BOOT_LOG_INF("br_image_off = 0x%x\n", rsp->br_image_off);
|
||||||
BOOT_LOG_INF("ih_hdr_size = 0x%x\n", rsp->br_hdr->ih_hdr_size);
|
BOOT_LOG_INF("ih_hdr_size = 0x%x\n", rsp->br_hdr->ih_hdr_size);
|
||||||
|
|
Loading…
Reference in New Issue