Skip to content

Commit

Permalink
Add warning above get_ram_size
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Hauer <[email protected]>
  • Loading branch information
saschahauer committed Feb 13, 2013
1 parent 2ccd451 commit a40e76c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/memsize.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
* Check memory range for valid RAM. A simple memory test determines
* the actually available RAM size between addresses `base' and
* `base + maxsize'.
*
* This function modifies the RAM. Do not use it if you're running from
* the RAM you are going to detect!
*/
long get_ram_size(volatile long *base, long maxsize)
{
Expand Down

0 comments on commit a40e76c

Please sign in to comment.