Gedare Bloom created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5545

Assignee: Gedare Bloom

## Summary
<!--
Please provide as much information as possible such as error messages or 
attaching logs
-->

The implementation of `bsp_memory_initialize()` reads the memory limit from the 
FDT or falls back to the linker script variable. However this ignores user 
configuration for `RISCV_RAM_REGION_BEGIN` and `RISCV_RAM_REGION_SIZE` which 
could be different especially if limiting the usage of the available memory.

Prefer to calculate the memory size from the user configuration first to avoid 
mismatched expectations.

## Steps to reproduce


<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5545
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to