Michal Simek 1020286ef4 microblaze: Fix bd_info pointer
Patch "Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value"
(sha1: 25ddd1fb0a2281b182529afbc8fda5de2dc16d96)
introduce GENERATED_GBL_DATA_SIZE which is sizeof aligned gd_t
(currently 0x40).
Microblaze configs used 0x40(128) because this place also contained
board info structure which lies on the top of ram.

U-Boot is placed to the top of the ram (for example 0xd7ffffff)
and bd structure was moved out of ram.

This patch is fixing this scheme with GENERATED_BD_INFO_SIZE
which swap global data and board info structures.

For example:
Current: gd 0xd7ffffc0, bd 0xd8000000
Fixed:   gd 0xd7ffffc0, bd 0xd7ffff90

Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-01-10 08:52:32 +01:00
..
2011-01-10 08:52:32 +01:00
2010-12-22 21:16:17 +01:00
2010-09-19 19:29:47 +02:00
2010-11-28 21:47:24 +01:00
2010-12-09 10:24:09 +01:00
2010-11-28 21:58:27 +01:00
2010-10-27 22:48:30 +02:00
2010-10-28 11:42:34 +02:00
2011-01-09 18:06:50 +01:00
2010-10-12 22:44:33 +02:00
2010-07-16 10:55:09 -05:00
2010-11-28 21:56:39 +01:00
2010-10-11 23:07:04 -07:00
2010-11-28 22:48:45 +01:00
2011-01-09 18:06:50 +01:00
2010-08-12 16:40:00 +02:00
2010-05-28 10:56:04 -04:00