9
0
Fork 0
barebox/arch/arm/lib
Sascha Hauer e064ad3628 ARM linux: support Linux images with CONFIG_AUTO_ZRELADDR
These images have to be located in the first 128MB of SDRAM, so
use the following strategy:

- first try to map the image. If the pointer is within the first
  128MB of sdram everything is fine.
- if we can't map the image, check for SDRAM being smaller than
  128MB we can use malloc for allocating space for the image.
- As a last fallback we simply put the image to 8MB into SDRAM.
  This is not very clean. We try our best by checking that we
  won't overwrite the malloc space.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-08-24 10:34:44 +02:00
..
.gitignore rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
Makefile ARM: move bootu code to its own file 2011-04-04 16:27:59 +02:00
arm.c ARM: remove unnecessary include 2011-01-17 11:05:14 +01:00
armlinux.c Merge branch 'pu-remove-gd_t' into next 2011-08-03 09:20:29 +02:00
ashldi3.S arm: libgcc update to linux v2.6.37 2011-01-17 08:28:08 +01:00
ashrdi3.S arm: libgcc update to linux v2.6.37 2011-01-17 08:28:08 +01:00
barebox.lds.S ARM: compile in image size and magic into barebox image 2011-05-06 08:53:26 +02:00
bootm.c remove unused global_data.h 2011-08-01 12:00:59 +02:00
bootu.c ARM: move bootu code to its own file 2011-04-04 16:27:59 +02:00
bootz.c ARM linux: support Linux images with CONFIG_AUTO_ZRELADDR 2011-08-24 10:34:44 +02:00
copy_template.S arm: implement optimized string functions 2009-08-18 15:45:00 +02:00
div0.c arm div0: sparse fixes 2010-10-21 22:21:25 +02:00
findbit.S Improve or fix various parameter documentation 2009-07-31 13:24:43 +02:00
io-readsb.S ioreadsb: put the whole ioreadsb function into the .text.readsb section 2010-02-16 21:49:33 +01:00
io-readsl.S Add IO string functions to also handle 32 bit IO locations 2009-07-01 10:45:21 +02:00
io-readsw-armv4.S Remove all ARM __raw_* functions. They are mixed all over 2009-07-01 14:35:35 +02:00
io-writesb.S Remove all ARM __raw_* functions. They are mixed all over 2009-07-01 14:35:35 +02:00
io-writesl.S Add IO string functions to also handle 32 bit IO locations 2009-07-01 10:45:21 +02:00
io-writesw-armv4.S Remove all ARM __raw_* functions. They are mixed all over 2009-07-01 14:35:35 +02:00
lib1funcs.S arm: libgcc update to linux v2.6.37 2011-01-17 08:28:08 +01:00
lshrdi3.S arm: libgcc update to linux v2.6.37 2011-01-17 08:28:08 +01:00
memcpy.S arm: implement optimized string functions 2009-08-18 15:45:00 +02:00
memset.S arm: implement optimized string functions 2009-08-18 15:45:00 +02:00
module.c module support for arm 2007-10-03 21:09:00 +02:00
unwind.c ARM: Add stack unwinding support 2011-03-10 14:50:07 +01:00