fix for DECLARE_GLOBAL_DATA_PTR on i386.
PATCH 1/1 fix for DECLARE_GLOBAL_DATA_PTR on i386.
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.
Signature · 9 lines
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