[U-Boot-Users] [PATCH] fix for DECLARE_GLOBAL_DATA_PTR on i386.

Wen-chien Jesse Sung jesse at cola.voip.idv.tw
Mon Jul 10 09:55:17 CEST 2006


Hi,

gcc complains that glocbal_data is not constant, so it can't be used
to initialize gd.

sc520_cdp.c:33: error: initializer element is not constant

Instead of using a global global_data and a local gd, this patch
uses a global gd only.

CHANGELOG

* Use only one global gd pointer for global_data on i386.

-- 
Best Regards,
Wen-chien Jesse Sung
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-fix-for-DECLARE_GLOBAL_DATA_PTR-on-i386.txt.gz
Type: application/x-gzip
Size: 912 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060710/ed015991/attachment.bin 


More information about the U-Boot mailing list