Add rom_data_lookup_inline function #2116

Merged
will-v-pi merged 2 commits from rom-data-lookup-inline into develop 2024-12-02 11:19:56 -06:00
will-v-pi commented 2024-11-29 09:34:20 -06:00 (Migrated from github.com)

Add rom_data_lookup_inline function instead of rom_data_lookup, similar to rom_func_lookup_inline. The code is moved from bootrom.c to bootrom.h, with the rom_data_lookup function changed to a simple call of rom_data_lookup_inline, similar to rom_func_lookup.

Also use this inline lookup in flash_devinfo_ptr to avoid touching a function in flash during flash programming.

Add `rom_data_lookup_inline` function instead of `rom_data_lookup`, similar to `rom_func_lookup_inline`. The code is moved from `bootrom.c` to `bootrom.h`, with the `rom_data_lookup` function changed to a simple call of `rom_data_lookup_inline`, similar to `rom_func_lookup`. Also use this inline lookup in `flash_devinfo_ptr` to avoid touching a function in flash during flash programming.
kilograham (Migrated from github.com) approved these changes 2024-12-02 11:19:39 -06:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!2116
No description provided.