Files
u-boot-tk1-som/include
Ben Gardiner 9700375624 da8xx: fixup ARM relocation support
Split the existing dram_init for da8xx when ARM reloc is enabled, like the
changes to arch/arm/cpu/arm926ejs/orion5x/dram.c in
0f234d263b17ccf1b8fd776eb8c15b7cdb27a887 by Heiko Schocher <hs@denx.de>.

Without these changes gd->ram_size is '0' which leads to incorrect relocation
when CONFIG_SYS_ARM_WITHOUT_RELOC is defined and the board does not boot.

We use get_ram_size to dynamically calculate the available RAM because it runs
on different board version with different ram, as suggested by Heiko in private
communication.

Tested on a da850evm with 128M of DDR2 installed; with both
CONFIG_SYS_ARM_WITHOUT_RELOC defined and undefined.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
CC: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
CC: Heiko Schocher <hs@denx.de>
2010-09-19 19:29:56 +02:00
..
2008-10-18 21:54:03 +02:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2009-08-09 23:15:33 +02:00
2009-10-03 10:17:56 +02:00
2008-12-15 22:05:36 +01:00
2009-03-20 22:39:13 +01:00
2009-10-03 10:17:56 +02:00
2010-01-27 21:23:14 +01:00
2008-10-18 21:54:03 +02:00
2010-09-19 19:29:51 +02:00
2010-07-17 20:47:08 +02:00
2009-10-27 20:58:25 +01:00
2008-10-18 21:54:03 +02:00
2009-01-24 00:23:09 +01:00
2009-09-04 21:54:52 +02:00
2008-10-18 21:54:03 +02:00
2010-09-19 19:29:47 +02:00
2010-07-24 20:54:46 +02:00
2009-10-03 10:17:56 +02:00
2009-07-16 22:23:53 +02:00
2008-10-18 21:54:03 +02:00
2009-10-13 06:17:35 -05:00
2010-07-14 22:41:39 +02:00
2008-10-18 21:54:03 +02:00
2010-01-21 22:26:00 +01:00
2009-04-03 23:47:06 +02:00
2010-08-09 11:52:29 -07:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2010-07-16 10:55:09 -05:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2010-03-21 22:44:42 +01:00
2010-04-21 23:42:38 +02:00
2008-10-18 21:54:03 +02:00
2009-11-13 16:56:18 -06:00
2009-04-03 23:47:06 +02:00
2010-03-12 23:06:04 +01:00
2008-10-18 21:54:03 +02:00
2010-04-24 22:56:41 +02:00
2008-10-18 21:54:03 +02:00
2009-10-03 10:17:56 +02:00
2009-10-03 10:17:56 +02:00
2010-01-31 22:34:34 -08:00
2009-01-28 19:57:27 +01:00
2010-08-12 16:40:00 +02:00
2009-10-03 10:17:56 +02:00
2008-10-18 21:54:03 +02:00
2010-05-28 10:56:04 -04:00