summaryrefslogtreecommitdiffstats
path: root/common/memsize.c
Commit message (Collapse)AuthorAgeFilesLines
* Add warning above get_ram_sizeSascha Hauer2013-02-131-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-4/+0
| | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* common/memsize.c: add missing includeSascha Hauer2010-10-211-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [sandbox] add propper sandbox detectionMarc Kleine-Budde2007-11-291-1/+1
| | | | | | | | | | | | | | | This patch adds a __SANDBOX__ define to identify compiling for the sandbox. When building for sandbox, don't use sync() workaround. Fixes this error for sandbox on PPC: CC common/memsize.o common/memsize.c:30:38: error: asm/io.h: No such file or directory common/memsize.c: In function 'get_ram_size': common/memsize.c:51: warning: implicit declaration of function 'sync' Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* Sequential accesses to non-existent memory must be synchronized,Wolfgang Denk2006-11-061-0/+17
| | | | | | at least on G2 cores. This fixes get_ram_size() problems on MPC5200 Rev. B boards.
* Add a common get_ram_size() function and modify the thewdenk2004-01-061-0/+77
board-specific files to invoke that common implementation.