Skip to content

Commit 1379406

Browse files
committed
some review changes
1 parent cb4544d commit 1379406

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/boot_picoboot_headers/include/boot/picoboot_constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// values 0-7 are secure/non-secure
1414
#define REBOOT2_FLAG_REBOOT_TYPE_NORMAL 0x0 // param0 = diagnostic partition
1515
#define REBOOT2_FLAG_REBOOT_TYPE_BOOTSEL 0x2 // param0 = gpio_pin_number, param1 = flags
16-
#define REBOOT2_FLAG_REBOOT_TYPE_RAM_IMAGE 0x3 // param0 = image_regio_base, param1 = image_region_size
16+
#define REBOOT2_FLAG_REBOOT_TYPE_RAM_IMAGE 0x3 // param0 = image_region_base, param1 = image_region_size
1717
#define REBOOT2_FLAG_REBOOT_TYPE_FLASH_UPDATE 0x4 // param0 = update_base
1818

1919
// values 8-15 are secure only

src/rp2_common/boot_bootrom_headers/include/boot/bootrom_constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ typedef struct cflash_flags {
308308
uint32_t flags;
309309
} cflash_flags_t;
310310

311-
#endif
311+
#endif // #ifdef __ASSEMBLER__
312312

313313
// Bits which are permitted to be set in a flags variable -- any other bits being set is an error
314314
#define CFLASH_FLAGS_BITS 0x00070301u

0 commit comments

Comments
 (0)