Files
u-boot/include/configs
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
2008-10-18 21:54:03 +02: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-08-12 16:40:00 +02:00
2008-10-18 21:54:03 +02:00
2010-08-08 05:17:05 +05:30
2010-09-03 11:14:13 +02:00
2010-08-09 16:04:59 +02:00
2010-02-12 12:31:54 -06:00
2010-02-12 12:31:54 -06:00
2008-10-18 21:54:03 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2010-08-09 16:05:03 +02:00
2010-02-12 12:31:54 -06:00
2010-09-10 00:16:19 +02:00
2010-08-20 16:42:02 +02:00
2010-02-12 12:31:54 -06:00
2008-10-18 21:54:03 +02:00
2010-09-19 19:29:56 +02:00
2009-03-20 22:39:14 +01:00
2010-02-12 12:36:04 -06:00
2008-10-18 21:54:03 +02:00
2010-02-12 12:31:54 -06:00
2010-05-06 00:20:04 +02:00
2009-03-20 22:39:14 +01:00
2008-10-18 21:54:03 +02:00
2009-07-11 09:02:21 +09:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-04-05 13:06:31 +02: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-04-21 23:42:38 +02:00
2009-12-13 21:31:26 -08:00
2008-10-18 21:54:03 +02:00
2010-09-03 15:13:02 +02:00
2008-10-18 21:54:03 +02:00
2010-09-19 19:29:46 +02:00
2008-10-18 21:54:03 +02:00
2009-03-20 22:39:14 +01:00
2009-06-23 00:10:04 +02:00
2008-10-18 21:54:03 +02:00
2010-02-12 12:31:54 -06:00
2010-04-21 23:42:38 +02:00
2010-09-19 19:29:54 +02:00
2010-09-10 00:16:19 +02:00
2008-10-18 21:54:03 +02:00
2009-03-20 22:39:14 +01:00
2010-04-21 23:42:38 +02:00
2010-02-12 12:31:54 -06:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-10-19 09:18:57 +02:00
2009-03-20 22:39:14 +01:00
2010-09-03 15:13:02 +02:00
2009-03-20 22:39:14 +01:00
2008-10-18 21:54:03 +02:00
2010-02-12 12:31:54 -06: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
2010-08-08 05:17:05 +05:30
2008-10-18 21:54:03 +02:00
2009-12-14 21:31:17 +01:00
2010-05-05 09:48:41 +02:00
2009-03-20 22:39:14 +01:00
2010-03-07 12:36:35 -06:00
2008-10-18 21:54:03 +02:00
2009-08-25 12:57:54 +02:00
2009-12-13 21:31:26 -08:00
2010-06-06 08:36:28 -05:00
2010-04-30 05:23:22 -05:00
2010-04-30 05:23:26 -05:00
2010-07-16 10:55:09 -05:00
2010-07-16 10:55:09 -05:00
2010-08-09 16:05:07 +02:00
2008-10-18 21:54:03 +02:00
2009-07-22 09:43:27 +02:00
2010-09-19 19:29:53 +02:00
2008-10-18 21:54:03 +02:00
2010-04-21 23:42:38 +02:00
2008-10-18 21:54:03 +02:00
2010-08-08 05:17:05 +05:30
2010-08-08 05:17:05 +05:30
2009-03-20 22:39:14 +01: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
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-11-27 16:26:13 -06:00
2010-07-16 10:55:09 -05:00
2010-07-16 10:55:09 -05:00
2010-08-09 16:05:18 +02:00
2008-10-18 21:54:03 +02:00
2009-11-27 16:26:13 -06:00
2009-11-27 16:26:13 -06: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
2009-04-29 21:39:46 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-11-27 16:26:13 -06:00
2010-09-19 19:29:54 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-03-20 22:39:14 +01:00
2009-11-27 16:26:13 -06:00
2010-08-09 01:15:22 +02: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-14 23:27:49 +02:00