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

10 Jul
2006
10 Jul
'06
9:55 a.m.
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
6877
Age (days ago)
6877
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wen-chien Jesse Sung