Skip to content

Commit e2e0fd5

Browse files
authored
remove support for A0 & A1 versions of RP2350 (#1958)
1 parent 075e829 commit e2e0fd5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
#define BOOTROM_VTABLE_OFFSET 0x00
2323
#define BOOTROM_TABLE_LOOKUP_OFFSET 0x18
2424
#else
25-
// todo remove this (or #ifdef it for A1/A2)
26-
#define BOOTROM_IS_A2() ((*(volatile uint8_t *)0x13) == 2)
27-
#define BOOTROM_WELL_KNOWN_PTR_SIZE (BOOTROM_IS_A2() ? 2 : 4)
25+
#define BOOTROM_WELL_KNOWN_PTR_SIZE 2
2826
#if defined(__riscv)
2927
#define BOOTROM_ENTRY_OFFSET 0x7dfc
3028
#define BOOTROM_TABLE_LOOKUP_ENTRY_OFFSET (BOOTROM_ENTRY_OFFSET - BOOTROM_WELL_KNOWN_PTR_SIZE)

0 commit comments

Comments
 (0)