GCC-4.x fixes: clean up global data pointer initialization for all boards.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include <common.h>
|
||||
#include <exports.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
static void dummy(void)
|
||||
{
|
||||
}
|
||||
@@ -12,7 +14,6 @@ unsigned long get_version(void)
|
||||
|
||||
void jumptable_init (void)
|
||||
{
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
int i;
|
||||
|
||||
gd->jt = (void **) malloc (XF_MAX * sizeof (void *));
|
||||
|
||||
Reference in New Issue
Block a user