diff --git a/src/common/boot_picoboot_headers/include/boot/picoboot_constants.h b/src/common/boot_picoboot_headers/include/boot/picoboot_constants.h index 642f54e6a..ffb3b8cc4 100644 --- a/src/common/boot_picoboot_headers/include/boot/picoboot_constants.h +++ b/src/common/boot_picoboot_headers/include/boot/picoboot_constants.h @@ -13,7 +13,7 @@ // values 0-7 are secure/non-secure #define REBOOT2_FLAG_REBOOT_TYPE_NORMAL 0x0 // param0 = diagnostic partition #define REBOOT2_FLAG_REBOOT_TYPE_BOOTSEL 0x2 // param0 = gpio_pin_number, param1 = flags -#define REBOOT2_FLAG_REBOOT_TYPE_RAM_IMAGE 0x3 // param0 = image_regio_base, param1 = image_region_size +#define REBOOT2_FLAG_REBOOT_TYPE_RAM_IMAGE 0x3 // param0 = image_region_base, param1 = image_region_size #define REBOOT2_FLAG_REBOOT_TYPE_FLASH_UPDATE 0x4 // param0 = update_base // values 8-15 are secure only diff --git a/src/rp2_common/boot_bootrom_headers/include/boot/bootrom_constants.h b/src/rp2_common/boot_bootrom_headers/include/boot/bootrom_constants.h index 195140f6b..c1107f66b 100644 --- a/src/rp2_common/boot_bootrom_headers/include/boot/bootrom_constants.h +++ b/src/rp2_common/boot_bootrom_headers/include/boot/bootrom_constants.h @@ -308,7 +308,7 @@ typedef struct cflash_flags { uint32_t flags; } cflash_flags_t; -#endif +#endif // #ifdef __ASSEMBLER__ // Bits which are permitted to be set in a flags variable -- any other bits being set is an error #define CFLASH_FLAGS_BITS 0x00070301u