-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XIP_MAIN_BASE seems like redundant/deprecated name, since we have XIP_BASE #2240
Comments
@matiasilva did this change by mistake from RP2040 to RP2350? |
ah actually i guess maybe it was vestigial in RP2040 |
See also sections 2.2.2 in https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf and https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf Although I guess for consistency perhaps it's worth modifying $ git grep XIP_MAIN_BASE
src/rp2040/hardware_regs/include/hardware/regs/addressmap.h:#define XIP_MAIN_BASE _u(0x10000000)
src/rp2_common/hardware_base/include/hardware/address_mapped.h: valid_params_if(ADDRESS_ALIAS, rc >= XIP_MAIN_BASE && rc < XIP_NOALLOC_BASE); |
Internal filtering was added to remove |
Perhaps we'd also need to add a |
let's just comment the one in RP2040 to say it is vestigial; i'll take that |
duh, that is auto-generated - i'll move this into a later release |
It appears that if two variables have the same value there should be guidance as to when each should be used.
There is no
XIP_MAIN_BASE
for the rp20350, so it would be helpful to document if it is deprecated, or just left around for the bootrom and the rp2040xip_alias_check_addr
functionin
src/rp2040/hardware_regs/include/hardware/regs/addressmap.h
The text was updated successfully, but these errors were encountered: