Remove duplicated defines from bootrom.h

See #2619 for rationale
This commit is contained in:
Andrew Scheller 2025-08-09 12:38:28 +01:00 committed by GitHub
parent 1ca77d6afd
commit 429a1ba612
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1010,17 +1010,6 @@ static inline intptr_t rom_set_rom_callback(uint callback_num, bootrom_api_callb
return func(callback_num, funcptr); return func(callback_num, funcptr);
} }
#define BOOT_TYPE_NORMAL 0
#define BOOT_TYPE_BOOTSEL 2
#define BOOT_TYPE_RAM_IMAGE 3
#define BOOT_TYPE_FLASH_UPDATE 4
// values 8-15 are secure only
#define BOOT_TYPE_PC_SP 0xd
// ORed in if a bootloader chained into the image
#define BOOT_TYPE_CHAINED_FLAG 0x80
/*! /*!
* \brief Get system information * \brief Get system information
* \ingroup pico_bootrom * \ingroup pico_bootrom