Commit 97d997a7 authored by Marti Bolivar's avatar Marti Bolivar
Browse files

Silence build warning on x86

Move the declaration of zephyr_flash_area_warn_on_open where all
targets can see it.

Signed-off-by: default avatarMarti Bolivar <marti.bolivar@linaro.org>
parent 55237d70
Loading
Loading
Loading
Loading
+2 −2
Changes for boot/zephyr/main.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -32,14 +32,14 @@ struct device *boot_flash_device;

void os_heap_init(void);

extern void zephyr_flash_area_warn_on_open(void);

#if defined(CONFIG_ARM)
struct arm_vector_table {
    uint32_t msp;
    uint32_t reset;
};

extern void zephyr_flash_area_warn_on_open(void);

static void do_boot(struct boot_rsp *rsp)
{
    struct arm_vector_table *vt;