u-boot-brain/arch
Michal Simek 1020286ef4 microblaze: Fix bd_info pointer
Patch "Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value"
(sha1: 25ddd1fb0a)
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
..
arm miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
avr32 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
blackfin Move DECLARE_GLOBAL_DATA_PTR to file scope 2010-12-21 11:33:36 +01:00
i386 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m68k Merge branch 'next' of ../next 2010-12-22 21:16:17 +01:00
microblaze microblaze: Fix bd_info pointer 2011-01-10 08:52:32 +01:00
mips Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
nios2 Remove redundant config.mk files 2010-12-09 10:25:56 +01:00
powerpc miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
sh Move DECLARE_GLOBAL_DATA_PTR to file scope 2010-12-21 11:33:36 +01:00
sparc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00